Skip to content

Commit

Permalink
need version in pack command
Browse files Browse the repository at this point in the history
  • Loading branch information
SaViGnAnO committed Sep 25, 2021
1 parent 85633b6 commit 30222e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
echo "PACKAGE VERSION: $VERSION"
dotnet build --no-restore -p:Version=$VERSION
- name: Pack Nuget Package
run: dotnet pack --include-symbols -o ./nuget
run: dotnet pack -p:Version=$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 30222e6

Please sign in to comment.