From 3c4c765f2ae30109249911130be7893ae35281e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Thu, 21 May 2026 11:14:32 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20macOS=20=E6=9E=84=E5=BB=BA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20gh=20CLI=20=E4=B8=8B=E8=BD=BD=E7=A7=81=E6=9C=89?= =?UTF-8?q?=E4=BB=93=E5=BA=93=20sidecar=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b86b7de..058a0ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: - name: Download sidecar binaries run: | mkdir -p tauri-app/src-tauri/binaries - curl -L -o /tmp/sidecar-binaries.tar.gz "https://github.com/${{ github.repository }}/releases/download/v0.0.0-sidecar/sidecar-binaries.tar.gz" + gh release download v0.0.0-sidecar --repo ${{ github.repository }} --pattern "sidecar-binaries.tar.gz" --dir /tmp tar xzf /tmp/sidecar-binaries.tar.gz -C tauri-app/src-tauri/binaries/ chmod +x tauri-app/src-tauri/binaries/ffmpeg-* tauri-app/src-tauri/binaries/ffprobe-* # Create universal binary for macOS universal-apple-darwin target @@ -72,6 +72,8 @@ jobs: tauri-app/src-tauri/binaries/ffprobe-x86_64-apple-darwin \ -output tauri-app/src-tauri/binaries/ffprobe-universal-apple-darwin fi + env: + GH_TOKEN: ${{ github.token }} - name: Install dependencies working-directory: tauri-app