Skip to content

Commit a8b276c

Browse files
authored
Fix CI Windows builds (#656)
* Fix FFmpeg version to 5.0.1 for now * Get FFmpeg from GitHub (no cache sadly) * Upgrade to ffmpeg 5.1 binaries
1 parent 9ce187f commit a8b276c

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/windows-build.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,11 @@ jobs:
2525
version: 2.15.05
2626
from-source: false
2727

28-
- name: FFmpeg hashsum
29-
run: |
30-
$hashSum = (Invoke-WebRequest 'https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z.sha256').Content
31-
echo "ff_hash=$hashSum" | Out-File $env:GITHUB_ENV -Append
32-
Write-Output "Latest release: $hashSum"
33-
34-
- name: FFmpeg cache
35-
id: cache-ff
36-
uses: actions/cache@v3
37-
with:
38-
path: C:/ffmpeg
39-
key: ff-${{ env.ff_hash }}
40-
4128
- if: steps.cache-ff.outputs.cache-hit != 'true'
4229
name: FFmpeg installation
4330
run: |
4431
$tempFile = New-TemporaryFile
45-
Invoke-WebRequest 'https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z' -OutFile $tempFile -TimeoutSec 10
32+
Invoke-WebRequest 'https://github.com/GyanD/codexffmpeg/releases/download/5.1/ffmpeg-5.1-full_build-shared.7z' -OutFile $tempFile -TimeoutSec 10
4633
7z x -y -o'C:/ffmpeg' "$tempFile"
4734
4835
- name: FFmpeg environment variable

0 commit comments

Comments
 (0)