mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
copy and zip
This commit is contained in:
parent
f0dfdcf3e9
commit
85b91ff2d1
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@ -19,6 +19,16 @@ jobs:
|
|||||||
dotnet-version: 5.0.101
|
dotnet-version: 5.0.101
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
|
- name: Remove Previous App
|
||||||
|
uses: JesseTG/rm@v.1.0.0
|
||||||
|
with:
|
||||||
|
path: c:\tmp\PublishApp
|
||||||
|
- name: Remove Previous Launcher
|
||||||
|
uses: JesseTG/rm@v.1.0.0
|
||||||
|
with:
|
||||||
|
path: c:\tmp\PublishLauncher
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --no-restore
|
run: dotnet build --no-restore
|
||||||
- name: Publish App
|
- name: Publish App
|
||||||
@ -36,4 +46,14 @@ jobs:
|
|||||||
certificate: ${{ secrets.CODE_CERT }}
|
certificate: ${{ secrets.CODE_CERT }}
|
||||||
password: ${{ secrets.CERT_PASSWORD }}
|
password: ${{ secrets.CERT_PASSWORD }}
|
||||||
folder: c:\tmp\PublishLauncher
|
folder: c:\tmp\PublishLauncher
|
||||||
|
- name: Copy Launcher
|
||||||
|
uses: canastro/copy-action@0.0.2
|
||||||
|
with:
|
||||||
|
source: c:\tmp\PublishLauncher\Wabbajack.exe
|
||||||
|
destination: c:\wabbajack_releases\${{ github.event.inputs.version }}\Wabbajack.exe
|
||||||
|
- name: Zip Release
|
||||||
|
uses: vimtor/action-zip@v1
|
||||||
|
with:
|
||||||
|
files: c:\tmp\PublishApp
|
||||||
|
dest: c:\wabbajack_releases\${{ github.event.inputs.version }}\${{ github.event.inputs.version }}.zip
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user