mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-04 13:57:39 +00:00
Add Setup.exe installer to install all except RTSS
This commit is contained in:
parent
bc395eb5de
commit
2941f66230
14 changed files with 446 additions and 12 deletions
14
.github/workflows/build_release.yaml
vendored
14
.github/workflows/build_release.yaml
vendored
|
|
@ -57,10 +57,22 @@ jobs:
|
|||
files: ${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-debug
|
||||
dest: ${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-debug.zip
|
||||
recursive: true
|
||||
- name: Install NSIS
|
||||
run: choco install nsis
|
||||
- name: Create release installer
|
||||
uses: joncloud/makensis-action@v3.7
|
||||
with:
|
||||
script-file: scripts/SteamDeckTools_Setup.nsi
|
||||
arguments:
|
||||
/V3
|
||||
/DUSE_WINGET
|
||||
/DVERSION=${{ env.RELEASE_VERSION }}
|
||||
/DBUILD_DIR=../${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}
|
||||
/DOUTPUT_FILE=../${{ env.RELEASE_NAME }}-${{ env.RELEASE_VERSION }}-setup.exe
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
tag: ${{ env.RELEASE_VERSION }}
|
||||
artifacts: "*.zip"
|
||||
artifacts: "*.zip,*-setup.exe"
|
||||
prerelease: true
|
||||
generateReleaseNotes: true
|
||||
bodyFile: RELEASE.md
|
||||
|
|
|
|||
21
.github/workflows/build_test.yaml
vendored
21
.github/workflows/build_test.yaml
vendored
|
|
@ -21,17 +21,30 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
- name: Build without Version
|
||||
run: dotnet build --configuration Debug --output ${{ env.SteamDeckTools }}-debug/
|
||||
run: dotnet build --configuration Debug --output ${{ env.RELEASE_NAME }}-debug/
|
||||
- name: Test
|
||||
run: dotnet test --no-restore --verbosity normal
|
||||
- uses: vimtor/action-zip@v1
|
||||
with:
|
||||
files: ${{ env.SteamDeckTools }}-debug
|
||||
dest: ${{ env.SteamDeckTools }}-debug.zip
|
||||
files: ${{ env.RELEASE_NAME }}-debug
|
||||
dest: ${{ env.RELEASE_NAME }}-debug.zip
|
||||
recursive: true
|
||||
- name: Install NSIS
|
||||
run: choco install nsis
|
||||
- name: Create debug installer
|
||||
uses: joncloud/makensis-action@v3.7
|
||||
with:
|
||||
script-file: scripts/SteamDeckTools_Setup.nsi
|
||||
arguments:
|
||||
/V3
|
||||
/DUSE_WINGET
|
||||
/DBUILD_DIR=../${{ env.RELEASE_NAME }}-debug
|
||||
/DOUTPUT_FILE=../${{ env.RELEASE_NAME }}-setup-debug.exe
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: debug-build
|
||||
path: ${{ env.SteamDeckTools }}-debug
|
||||
path:
|
||||
${{ env.RELEASE_NAME }}-debug.zip
|
||||
${{ env.RELEASE_NAME }}-setup-debug.exe
|
||||
retention-days: 14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue