feat: update Squirrel setup paths and add arm64 support for uploads
This commit is contained in:
@@ -104,13 +104,13 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Paarrot-Setup-x64.exe
|
name: Paarrot-Setup-x64.exe
|
||||||
path: dist-electron/Paarrot-*-win-x64-Setup.exe
|
path: dist-electron/squirrel-windows/Paarrot-*-win-x64.exe
|
||||||
|
|
||||||
- name: Upload Squirrel Setup (arm64)
|
- name: Upload Squirrel Setup (arm64)
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Paarrot-Setup-arm64.exe
|
name: Paarrot-Setup-arm64.exe
|
||||||
path: dist-electron/Paarrot-*-win-arm64-Setup.exe
|
path: dist-electron/squirrel-windows-arm64/Paarrot-*-win-arm64.exe
|
||||||
|
|
||||||
- name: List build output
|
- name: List build output
|
||||||
shell: powershell
|
shell: powershell
|
||||||
@@ -120,32 +120,42 @@ jobs:
|
|||||||
- name: Copy RELEASES file for upload
|
- name: Copy RELEASES file for upload
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
if (Test-Path \"dist-electron/squirrel-windows/RELEASES\") {
|
if (Test-Path "dist-electron/squirrel-windows/RELEASES") {
|
||||||
Copy-Item \"dist-electron/squirrel-windows/RELEASES\" -Destination \"dist-electron/RELEASES\"
|
Copy-Item "dist-electron/squirrel-windows/RELEASES" -Destination "dist-electron/RELEASES-x64"
|
||||||
} elseif (Test-Path \"dist-electron/RELEASES\") {
|
|
||||||
Write-Output \"RELEASES file already at root\"
|
|
||||||
} else {
|
} else {
|
||||||
Write-Error \"RELEASES file not found\"
|
Write-Error "RELEASES file not found for x64"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
if (Test-Path "dist-electron/squirrel-windows-arm64/RELEASES") {
|
||||||
|
Copy-Item "dist-electron/squirrel-windows-arm64/RELEASES" -Destination "dist-electron/RELEASES-arm64"
|
||||||
|
} else {
|
||||||
|
Write-Error "RELEASES file not found for arm64"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: Upload Squirrel RELEASES
|
- name: Upload Squirrel RELEASES (x64)
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: RELEASES
|
name: RELEASES-x64
|
||||||
path: dist-electron/RELEASES
|
path: dist-electron/RELEASES-x64
|
||||||
|
|
||||||
|
- name: Upload Squirrel RELEASES (arm64)
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: RELEASES-arm64
|
||||||
|
path: dist-electron/RELEASES-arm64
|
||||||
|
|
||||||
- name: Upload Squirrel nupkg (x64)
|
- name: Upload Squirrel nupkg (x64)
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Paarrot-x64.nupkg
|
name: Paarrot-x64.nupkg
|
||||||
path: dist-electron/Paarrot-*-win-x64-full.nupkg
|
path: dist-electron/squirrel-windows/*.nupkg
|
||||||
|
|
||||||
- name: Upload Windows update metadata
|
- name: Upload Squirrel nupkg (arm64)
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: latest.yml
|
name: Paarrot-arm64.nupkg
|
||||||
path: dist-electron/latest.yml
|
path: dist-electron/squirrel-windows-arm64/*.nupkg
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user