Skip to content

Commit

Permalink
ci(nuget): make dotnet pack deterministic
Browse files Browse the repository at this point in the history
by adding the flag `-p:ContinuousIntegrationBuild=true`

Signed-off-by: Simon Eßlinger <github@esslinger.dev>
  • Loading branch information
skyfrk authored and jskeet committed Jun 24, 2022
1 parent 145486d commit e517ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
- name: Push to NuGet
run: |
dotnet pack -c Release -o $PWD/nuget
dotnet pack -c Release -p:ContinuousIntegrationBuild=true -o $PWD/nuget
for file in nuget/*.nupkg; do dotnet nuget push -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} $file; done

0 comments on commit e517ee4

Please sign in to comment.