Skip to content

Commit a365879

Browse files
Added symbol package creation and publish to nuget.org into actions.
1 parent 506d481 commit a365879

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/BuildTestDeploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ jobs:
9494
echo $env:RELEASE_VERSION
9595
echo $env:GITHUB_SHA
9696
mkdir nupkg
97-
dotnet pack -p:PackageVersion=$env:RELEASE_VERSION -o $PWD\nupkg -p:RepositoryCommit=$env:GITHUB_SHA --configuration Release
97+
dotnet pack -p:PackageVersion=$env:RELEASE_VERSION -o $PWD\nupkg -p:RepositoryCommit=$env:GITHUB_SHA --configuration Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
9898
cd nupkg
99-
dotnet nuget push "**/*.nupkg" --api-key ${{secrets.NUGET_DEPLOY_KEY}} --source "https://api.nuget.org/v3/index.json" --no-symbols true --skip-duplicate
99+
dotnet nuget push "**/*.nupkg" --api-key ${{secrets.NUGET_DEPLOY_KEY}} --source "https://api.nuget.org/v3/index.json" --skip-duplicate
100100
101101
publish_docker:
102102
needs: [check_license, build_and_test]

0 commit comments

Comments
 (0)