From fa8bdb05cd88d97cf6669d918322f504bee5006f Mon Sep 17 00:00:00 2001 From: Ganesh Jangir Date: Mon, 18 Nov 2024 14:50:50 +0100 Subject: [PATCH] unique version to get around nuget cache gotchas --- .github/workflows/dotnet.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index aa3e71dc8..1a2da8dc2 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -112,7 +112,12 @@ jobs: - name: Pack run: | - dotnet pack .\windows\libdatadog.csproj -p:LibDatadogBinariesOutputDir=..\bin -p:LibDatadogVersion="42.0.0" -p:RepositoryBranch=$env:BRANCH -p:RepositoryCommit=$env:COMMIT_SHA -o .nuget\packages\ + dotnet pack .\windows\libdatadog.csproj ` + -p:LibDatadogBinariesOutputDir=..\bin ` + -p:LibDatadogVersion=$([System.DateTime]::Now.ToString("yyyy.MM.dd.HHmmss")) ` + -p:RepositoryBranch=$env:BRANCH ` + -p:RepositoryCommit=$env:COMMIT_SHA ` + -o .nuget\packages\ - name: Store artifacts uses: actions/upload-artifact@v4