Skip to content

Commit

Permalink
unique version to get around nuget cache gotchas
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshnj committed Nov 18, 2024
1 parent ca5feb8 commit fa8bdb0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa8bdb0

Please sign in to comment.