ci(nuget): make dotnet pack deterministic

by adding the flag `-p:ContinuousIntegrationBuild=true`

Signed-off-by: Simon Eßlinger <github@esslinger.dev>
This commit is contained in:
Simon Eßlinger 2022-06-22 21:34:43 +02:00 committed by Jon Skeet
parent 145486d331
commit e517ee4755
1 changed files with 1 additions and 1 deletions

View File

@ -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