Skip to content

Commit

Permalink
Use debug mode instead of release mode for per-commit package builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sudokoko committed Sep 24, 2023
1 parent f550070 commit c26511f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

0 comments on commit c26511f

Please sign in to comment.