From 97467844c578cf5f2b89be7277fa79f351c9314b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Sat, 25 Mar 2023 14:36:40 +0100 Subject: [PATCH] Build debug symbol packages in deploy workflow --- .github/workflows/deploy-pack.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-pack.yml b/.github/workflows/deploy-pack.yml index 8b84d3a8b7..d9c85bcbd1 100644 --- a/.github/workflows/deploy-pack.yml +++ b/.github/workflows/deploy-pack.yml @@ -55,13 +55,15 @@ jobs: dotnet-version: "6.0.x" - name: Pack (Framework) - run: dotnet pack -c Release osu.Framework /p:Version=${{needs.check-if-tag.outputs.version}} /p:GenerateDocumentationFile=true -o ${{steps.artifactsPath.outputs.nuget_artifacts}} + run: dotnet pack -c Release osu.Framework /p:Version=${{needs.check-if-tag.outputs.version}} /p:GenerateDocumentationFile=true /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg -o ${{steps.artifactsPath.outputs.nuget_artifacts}} - name: Upload Artifacts uses: actions/upload-artifact@v3 with: name: osu-framework - path: ${{steps.artifactsPath.outputs.nuget_artifacts}}\*.nupkg + path: | + ${{steps.artifactsPath.outputs.nuget_artifacts}}\*.nupkg + ${{steps.artifactsPath.outputs.nuget_artifacts}}\*.snupkg - name: Publish packages to nuget.org run: dotnet nuget push ${{steps.artifactsPath.outputs.nuget_artifacts}}\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json