Update release.yml

This commit is contained in:
Timothy Baldridge 2021-05-17 21:00:11 -06:00 committed by GitHub
parent 00a5d07a73
commit fadd65ae63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,11 +23,11 @@ jobs:
- name: Remove Previous App
uses: JesseTG/rm@v1.0.0
with:
path: c:\tmp\PublishApp
path: x:\tmp\PublishApp
- name: Remove Previous Launcher
uses: JesseTG/rm@v1.0.0
with:
path: c:\tmp\PublishLauncher
path: x:\tmp\PublishLauncher
- name: Build
run: dotnet build --no-restore
@ -42,9 +42,9 @@ jobs:
run: C:\"Program Files (x86)"\"Windows Kits"\10\bin\10.0.17763.0\x86\signtool.exe sign /sm c:\tmp\PublishLauncher\Wabbajack.exe
shell: cmd
- name: Create Release Folder
run: mkdir c:\wabbajack_releases\${{ github.event.inputs.version }}
run: mkdir x:\wabbajack_releases\${{ github.event.inputs.version }}
- name: Copy Launcher
run: copy c:\tmp\PublishLauncher\Wabbajack.exe c:\wabbajack_releases\${{ github.event.inputs.version }}\Wabbajack.exe
run: copy x:\tmp\PublishLauncher\Wabbajack.exe x:\wabbajack_releases\${{ github.event.inputs.version }}\Wabbajack.exe
- name: Zip Release
run: Compress-Archive -Path c:\tmp\PublishApp\* -DestinationPath c:\wabbajack_releases\${{ github.event.inputs.version }}\${{ github.event.inputs.version }}.zip
run: Compress-Archive -Path c:\tmp\PublishApp\* -DestinationPath x:\wabbajack_releases\${{ github.event.inputs.version }}\${{ github.event.inputs.version }}.zip