mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-04 13:57:39 +00:00
Use PRODUCTION_BUILD define
This commit is contained in:
parent
998bf9506e
commit
727d4b82de
2 changed files with 3 additions and 2 deletions
4
.github/workflows/build_release.yaml
vendored
4
.github/workflows/build_release.yaml
vendored
|
|
@ -42,9 +42,9 @@ jobs:
|
|||
echo "MajorVer=$majorVer LastVer=$lastVer NextVer=$nextVer"
|
||||
echo "RELEASE_VERSION=$nextVer" >> $GITHUB_ENV
|
||||
- name: Build Release
|
||||
run: dotnet build --configuration Release --output "${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}/" "/property:Version=${{ env.RELEASE_VERSION }}"
|
||||
run: dotnet build --configuration Release --output "${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}/" "/property:Version=${{ env.RELEASE_VERSION }}" "/property:ExtraDefineConstants=PRODUCTION_BUILD"
|
||||
- name: Build Debug
|
||||
run: dotnet build --configuration Debug --output "${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-debug/" "/property:Version=${{ env.RELEASE_VERSION }}"
|
||||
run: dotnet build --configuration Debug --output "${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-debug/" "/property:Version=${{ env.RELEASE_VERSION }}" "/property:ExtraDefineConstants=PRODUCTION_BUILD"
|
||||
- name: Test
|
||||
run: dotnet test --no-restore --verbosity normal
|
||||
- uses: vimtor/action-zip@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue