fix(ci): add missing sidecar download step for Windows build
- Windows job was missing Download sidecar binaries step, causing 'ffmpeg-x86_64-pc-windows-msvc.exe doesn't exist' build failure - Remove duplicate sidecar download step from disabled macOS job
This commit is contained in:
@@ -73,15 +73,6 @@ jobs:
|
||||
-output tauri-app/src-tauri/binaries/ffprobe-universal-apple-darwin
|
||||
fi
|
||||
|
||||
- name: Download sidecar binaries
|
||||
shell: pwsh
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force -Path tauri-app/src-tauri/binaries
|
||||
gh release download v0.0.0-sidecar --repo ${{ github.repository }} --pattern "sidecar-binaries.tar.gz" --dir $env:TEMP
|
||||
tar xzf "$env:TEMP\sidecar-binaries.tar.gz" -C tauri-app/src-tauri/binaries/
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: tauri-app
|
||||
run: npm ci
|
||||
@@ -145,6 +136,16 @@ jobs:
|
||||
path: tauri-app/node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('tauri-app/package-lock.json') }}
|
||||
|
||||
- name: Download sidecar binaries
|
||||
shell: pwsh
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force -Path tauri-app/src-tauri/binaries
|
||||
gh release download v0.0.0-sidecar --repo ${{ github.repository }} --pattern "sidecar-binaries.tar.gz" --dir $env:TEMP
|
||||
tar xzf "$env:TEMP\sidecar-binaries.tar.gz" -C tauri-app/src-tauri/binaries/
|
||||
Get-ChildItem tauri-app/src-tauri/binaries/
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: tauri-app
|
||||
run: npm ci
|
||||
|
||||
Reference in New Issue
Block a user