ci: pin ffmpeg

This commit is contained in:
Robin Appelman 2023-08-05 18:31:19 +02:00
commit e21fe2cbb7
2 changed files with 15 additions and 4 deletions

View file

@ -51,12 +51,12 @@ jobs:
id: cache-ffmpeg
uses: actions/cache@v2
with:
path: ffmpeg_build
path: ~/ffmpeg_build
key: ${{ runner.os }}-ffmpeg
- name: Build ffmpeg
if: steps.cache-ffmpeg.outputs.cache-hit != 'true'
run: |
git clone https://github.com/ffmpeg/ffmpeg --depth 1
git clone https://github.com/ffmpeg/ffmpeg --branch n6.0 --depth 1
cd ffmpeg
mkdir build
cd build
@ -101,9 +101,11 @@ jobs:
- name: Vcpkg install ffmpeg
if: steps.cache-vcpkg.outputs.cache-hit != 'true'
run: |
git clone https://github.com/microsoft/vcpkg --depth 1
git clone https://github.com/microsoft/vcpkg -b 2023.07.21 --single-branch --depth 1
./vcpkg/bootstrap-vcpkg.bat
./vcpkg/vcpkg.exe install ffmpeg:x64-windows-static
cp ${{ github.workspace }}/vcpkg.json ./vcpkg/
./vcpkg/vcpkg x-update-baseline --add-initial-baseline
./vcpkg/vcpkg.exe install
- name: Build
env: