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
|
||||
with:
|
||||
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)
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
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
|
||||
shell: powershell
|
||||
@@ -120,32 +120,42 @@ jobs:
|
||||
- name: Copy RELEASES file for upload
|
||||
shell: powershell
|
||||
run: |
|
||||
if (Test-Path \"dist-electron/squirrel-windows/RELEASES\") {
|
||||
Copy-Item \"dist-electron/squirrel-windows/RELEASES\" -Destination \"dist-electron/RELEASES\"
|
||||
} elseif (Test-Path \"dist-electron/RELEASES\") {
|
||||
Write-Output \"RELEASES file already at root\"
|
||||
if (Test-Path "dist-electron/squirrel-windows/RELEASES") {
|
||||
Copy-Item "dist-electron/squirrel-windows/RELEASES" -Destination "dist-electron/RELEASES-x64"
|
||||
} 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
|
||||
}
|
||||
|
||||
- name: Upload Squirrel RELEASES
|
||||
- name: Upload Squirrel RELEASES (x64)
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: RELEASES
|
||||
path: dist-electron/RELEASES
|
||||
name: RELEASES-x64
|
||||
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)
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
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
|
||||
with:
|
||||
name: latest.yml
|
||||
path: dist-electron/latest.yml
|
||||
name: Paarrot-arm64.nupkg
|
||||
path: dist-electron/squirrel-windows-arm64/*.nupkg
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user