Bundle FFmpeg as Tauri sidecar, download in CI
Some checks failed
Some checks failed
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -28,6 +28,14 @@ jobs:
|
||||
libgtk-3-dev \
|
||||
libayatana-appindicator3-dev \
|
||||
rpm
|
||||
- name: Download FFmpeg (bundled sidecar)
|
||||
run: |
|
||||
mkdir -p src-tauri/binaries
|
||||
curl -sL "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz" -o /tmp/ffmpeg.tar.xz
|
||||
tar -xf /tmp/ffmpeg.tar.xz -C /tmp
|
||||
cp /tmp/ffmpeg-*-amd64-static/ffmpeg src-tauri/binaries/ffmpeg-x86_64-unknown-linux-gnu
|
||||
cp /tmp/ffmpeg-*-amd64-static/ffprobe src-tauri/binaries/ffprobe-x86_64-unknown-linux-gnu
|
||||
chmod +x src-tauri/binaries/*
|
||||
- uses: tauri-apps/tauri-action@v0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user