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:
parent
145486d331
commit
e517ee4755
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue