Extend performance overlay to include FT and others

This commit is contained in:
Kamil Trzciński 2022-11-13 14:39:29 +01:00
parent 059d64827f
commit 01f0d6b366
21 changed files with 198 additions and 63 deletions

View file

@ -5,6 +5,7 @@ on:
- '**/**.md'
env:
RELEASE_NAME: SteamDeckTools
DOTNET_VERSION: '6.0.x'
jobs:
@ -38,13 +39,13 @@ jobs:
echo "MajorVer=$majorVer LastVer=$lastVer NextVer=$nextVer"
echo "RELEASE_VERSION=$nextVer" >> $GITHUB_ENV
- name: Build
run: dotnet build --configuration Release --output "FanControl-${{ env.RELEASE_VERSION }}/" "/property:Version=${{ env.RELEASE_VERSION }}"
run: dotnet build --configuration Release --output "${{ env.SteamDeckTools }}-${{ env.RELEASE_VERSION }}/" "/property:Version=${{ env.RELEASE_VERSION }}"
- name: Test
run: dotnet test --no-restore --verbosity normal
- uses: vimtor/action-zip@v1
with:
files: FanControl-${{ env.RELEASE_VERSION }}
dest: FanControl-${{ env.RELEASE_VERSION }}.zip
files: ${{ env.SteamDeckTools }}-${{ env.RELEASE_VERSION }}
dest: ${{ env.SteamDeckTools }}-${{ env.RELEASE_VERSION }}.zip
recursive: true
- uses: ncipollo/release-action@v1
with:

View file

@ -2,6 +2,7 @@ on:
pull_request:
env:
RELEASE_NAME: SteamDeckTools
DOTNET_VERSION: '6.0.x'
jobs:
@ -16,11 +17,11 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Build without Version
run: dotnet build --configuration Release --output FanControl-develop/
run: dotnet build --configuration Release --output ${{ env.SteamDeckTools }}-develop/
- name: Test
run: dotnet test --no-restore --verbosity normal
- uses: vimtor/action-zip@v1
with:
files: FanControl-develop
dest: FanControl-develop.zip
files: ${{ env.SteamDeckTools }}-develop
dest: ${{ env.SteamDeckTools }}-develop.zip
recursive: true