From e517ee4755e927cf93dfe87e004aac40ca0c59b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20E=C3=9Flinger?= Date: Wed, 22 Jun 2022 21:34:43 +0200 Subject: [PATCH] ci(nuget): make dotnet pack deterministic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit by adding the flag `-p:ContinuousIntegrationBuild=true` Signed-off-by: Simon Eßlinger --- .github/workflows/nuget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 9f8af67..ba61ecd 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -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