Skip to content

Commit e517ee4

Browse files
skyfrkjskeet
authored andcommitted
ci(nuget): make dotnet pack deterministic
by adding the flag `-p:ContinuousIntegrationBuild=true` Signed-off-by: Simon Eßlinger <[email protected]>
1 parent 145486d commit e517ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535
3636
- name: Push to NuGet
3737
run: |
38-
dotnet pack -c Release -o $PWD/nuget
38+
dotnet pack -c Release -p:ContinuousIntegrationBuild=true -o $PWD/nuget
3939
for file in nuget/*.nupkg; do dotnet nuget push -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} $file; done
4040

0 commit comments

Comments
 (0)