Skip to content

Commit

Permalink
Release.yml fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Grigorichev committed Sep 7, 2023
1 parent d59e479 commit 9b82568
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,8 @@ jobs:
- name: test
run: dotnet test

- name: publish
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/ModelResult/Byndyusoft.ModelResult.csproj
VERSION_FILE_PATH: Directory.Build.props
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
TAG_COMMIT: false
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true

- name: publish
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/ModelResult.AspNetCore/Byndyusoft.ModelResult.AspNetCore.csproj
VERSION_FILE_PATH: Directory.Build.props
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
TAG_COMMIT: false
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true
- name: Create package(s)
run: dotnet pack --configuration Release --no-build

- name: Publish packages
run: dotnet nuget push **/*.nupkg -k ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json

0 comments on commit 9b82568

Please sign in to comment.