From c26511f2af6a02c958dda1bab29cec959b191d8e Mon Sep 17 00:00:00 2001 From: koko Date: Sun, 24 Sep 2023 13:43:10 -0400 Subject: [PATCH] Use debug mode instead of release mode for per-commit package builds --- .github/workflows/staging.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 20a5b90..f8dc903 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -30,18 +30,18 @@ jobs: run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Build NuGet Package - run: dotnet pack -c Release /p:Version=0 Starnet + run: dotnet pack -c Debug /p:Version=0 Starnet - name: Prepare Package Artifact run: | mv \ - ${{ github.workspace }}/Starnet/bin/Release/LBPUnion.Starnet.0.0.0.nupkg \ - ${{ github.workspace }}/Starnet/bin/Release/LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg + ${{ github.workspace }}/Starnet/bin/Debug/LBPUnion.Starnet.0.0.0.nupkg \ + ${{ github.workspace }}/Starnet/bin/Debug/LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg - name: Upload Package Artifact uses: actions/upload-artifact@v3.1.1 with: name: LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg - path: "${{ github.workspace }}/Starnet/bin/Release/LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg" + path: "${{ github.workspace }}/Starnet/bin/Debug/LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg" if-no-files-found: error retention-days: 3 \ No newline at end of file