-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use debug mode instead of release mode for per-commit package builds
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |