Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

ci: use macos-latest and dynamic architecture detection

IGECTf224d96ab9b0
diff --git a/.github/workflows/verify-macos.yml b/.github/workflows/verify-macos.yml
index 9b5c3352..fe032db8 100644
--- a/.github/workflows/verify-macos.yml
+++ b/.github/workflows/verify-macos.yml
@@ -8,7 +8,7 @@ on:
jobs:
verify-macos:
- runs-on: macos-14
+ runs-on: macos-latest
permissions:
contents: read
steps:
@@ -51,8 +51,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -e
- echo "Downloading LibreGet_0.16.10_aarch64.app.tar.gz from release assets..."
- gh release download v0.16.10 -p "*aarch64.app.tar.gz" --repo OpenSelena/libreget
+ ARCH=$(uname -m)
+ echo "Detected macOS runner architecture: $ARCH"
+ if [ "$ARCH" = "arm64" ]; then
+ gh release download v0.16.10 -p "*aarch64.app.tar.gz" --repo OpenSelena/libreget
+ else
+ gh release download v0.16.10 -p "*x64.app.tar.gz" --repo OpenSelena/libreget
+ fi
tar -xzf LibreGet_*.app.tar.gz
xattr -cr LibreGet.app || true
ls -ld LibreGet.app