Skip to content

Commit

Permalink
one more try
Browse files Browse the repository at this point in the history
  • Loading branch information
SaViGnAnO committed Sep 25, 2021
1 parent 30222e6 commit 9cde31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
run: |
$VERSION=$env:GITHUB_REF.Substring($env:GITHUB_REF.LastIndexOf('/') + 1)
echo "PACKAGE VERSION: $VERSION"
dotnet build --no-restore -p:Version=$VERSION
dotnet build --no-restore -p:Version=$VERSION -p:PackageVersion=$VERSION
- name: Pack Nuget Package
run: dotnet pack -p:Version=$VERSION --include-symbols -o ./nuget
run: dotnet pack -p:Version=$VERSION -p:PackageVersion=$VERSION --include-symbols -o ./nuget
- name: Publish Nuget Package
run: dotnet nuget push .\nuget\*.nupkg -s "nuget.org" -k ${{ secrets.NUGET_API_KEY }}

0 comments on commit 9cde31a

Please sign in to comment.