Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapanila authored Jul 18, 2024
1 parent b524f54 commit 1aa86e7
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 @@ -30,9 +30,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: dotnet build --no-restore --configuration Release /p:Version=$VERSION Sharpcaster/Sharpcaster.csproj
run: dotnet build --no-restore --configuration Release /p:Version=${{ env.VERSION }} Sharpcaster/Sharpcaster.csproj
- name: Package
run: dotnet pack --configuration Release /p:Version=$VERSION /p:NuspecFile=../SharpCaster.nuspec Sharpcaster/Sharpcaster.csproj
run: dotnet pack --configuration Release /p:Version=${{ env.VERSION }} /p:NuspecFile=../SharpCaster.nuspec Sharpcaster/Sharpcaster.csproj
- name: Push
if: github.event_name == 'release' && github.event.action == 'published'
run: dotnet nuget push "**/*.nupkg" -k $NUGET_AUTH_TOKEN -s nuget.org
Expand Down

0 comments on commit 1aa86e7

Please sign in to comment.