Build DEBUG that has all experimental features

This commit is contained in:
Kamil Trzciński 2022-12-02 19:46:28 +01:00
parent da7508eb7e
commit f30596ae1a
3 changed files with 12 additions and 4 deletions

View file

@ -41,8 +41,10 @@ jobs:
fi
echo "MajorVer=$majorVer LastVer=$lastVer NextVer=$nextVer"
echo "RELEASE_VERSION=$nextVer" >> $GITHUB_ENV
- name: Build
- name: Build Release
run: dotnet build --configuration Release --output "${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}/" "/property:Version=${{ env.RELEASE_VERSION }}"
- name: Build Debug
run: dotnet build --configuration Debug --output "${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-debug/" "/property:Version=${{ env.RELEASE_VERSION }}"
- name: Test
run: dotnet test --no-restore --verbosity normal
- uses: vimtor/action-zip@v1
@ -50,6 +52,11 @@ jobs:
files: ${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}
dest: ${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}.zip
recursive: true
- uses: vimtor/action-zip@v1
with:
files: ${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-debug
dest: ${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-debug.zip
recursive: true
- uses: ncipollo/release-action@v1
with:
tag: ${{ env.RELEASE_VERSION }}

View file

@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Build without Version
run: dotnet build --configuration Release --output ${{ env.SteamDeckTools }}-develop/
run: dotnet build --configuration Debug --output ${{ env.SteamDeckTools }}-debug/
- name: Test
run: dotnet test --no-restore --verbosity normal
- uses: vimtor/action-zip@v1
with:
files: ${{ env.SteamDeckTools }}-develop
dest: ${{ env.SteamDeckTools }}-develop.zip
files: ${{ env.SteamDeckTools }}-debug
dest: ${{ env.SteamDeckTools }}-debug.zip
recursive: true

View file

@ -22,3 +22,4 @@ It does help this project on being supported.
- Go back to `Startup Profile` on `Toggle deskptop mode`
- The `X360.Beep()` cycles currently connected device (fixes Playnite error)
- Fix using Playnite to launch Steam game where on exit Desktop was activated
- Build DEBUG that has all experimental features