refactor: update project metadata and remove arm64 support from build process

This commit is contained in:
2026-02-24 22:29:20 +11:00
parent f0428b7bfc
commit 796659318e
4 changed files with 24 additions and 78 deletions

View File

@@ -106,12 +106,6 @@ jobs:
name: Paarrot-Setup-x64.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/squirrel-windows-arm64/Paarrot-*-win-arm64.exe
- name: List build output
shell: powershell
run: |
@@ -121,41 +115,23 @@ jobs:
shell: powershell
run: |
if (Test-Path "dist-electron/squirrel-windows/RELEASES") {
Copy-Item "dist-electron/squirrel-windows/RELEASES" -Destination "dist-electron/RELEASES-x64"
Copy-Item "dist-electron/squirrel-windows/RELEASES" -Destination "dist-electron/RELEASES"
} else {
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 (x64)
- name: Upload Squirrel RELEASES
uses: actions/upload-artifact@v3
with:
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: RELEASES
path: dist-electron/RELEASES
- name: Upload Squirrel nupkg (x64)
uses: actions/upload-artifact@v3
with:
name: Paarrot-x64.nupkg
path: dist-electron/squirrel-windows/*.nupkg
- name: Upload Squirrel nupkg (arm64)
uses: actions/upload-artifact@v3
with:
name: Paarrot-arm64.nupkg
path: dist-electron/squirrel-windows-arm64/*.nupkg
build-linux:
runs-on: ubuntu-latest
@@ -178,11 +154,6 @@ jobs:
with:
node-version: '20'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y rpm
- name: Install dependencies (root)
run: npm ci --prefer-offline
@@ -204,24 +175,6 @@ jobs:
with:
name: Paarrot-Linux-x64.AppImage
path: dist-electron/Paarrot-*.AppImage
- name: Upload DEB package
uses: actions/upload-artifact@v3
with:
name: Paarrot-Linux-x64.deb
path: dist-electron/Paarrot-*-linux-amd64.deb
- name: Upload RPM package
uses: actions/upload-artifact@v3
with:
name: Paarrot-Linux-x64.rpm
path: dist-electron/Paarrot-*-linux-x86_64.rpm
- name: Upload Linux update metadata
uses: actions/upload-artifact@v3
with:
name: latest-linux.yml
path: dist-electron/latest-linux.yml
create-release:
runs-on: ubuntu-latest
@@ -279,7 +232,7 @@ jobs:
- name: Prepare release files
run: |
mkdir -p release-files
find artifacts -type f \( -name "*.exe" -o -name "*.AppImage" -o -name "*.deb" -o -name "*.rpm" -o -name "*.dmg" -o -name "*.zip" -o -name "*.yml" -o -name "*.nupkg" -o -name "RELEASES*" \) -exec cp {} release-files/ \;
find artifacts -type f \( -name "*.exe" -o -name "*.AppImage" -o -name "*.nupkg" -o -name "RELEASES*" \) -exec cp {} release-files/ \;
ls -la release-files/
- name: Create or Update Release