A community-maintained Python framework for creating mathematical animations.
[ci] Fix ffmpeg Url (#479)
Naveen M Kdc4504c29e92
diff --git a/.github/manimdependency.json b/.github/manimdependency.jsonindex 2daf25a28..e8f89d51c 100644--- a/.github/manimdependency.json+++ b/.github/manimdependency.json@@ -1,6 +1,6 @@{"windows": {"sox": "sox-14.4.2-win32",- "ffmpeg": "ffmpeg-4.3.1-win64-static"+ "ffmpeg": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-16-full_build.zip"}}diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 104a9f183..14d8728a6 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -77,8 +77,7 @@ jobs:run: |$soxVersion = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['sox'])"$soxVersionNumber = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['sox'].split('-')[1])"- $ffmpegVersion = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['ffmpeg'])"- $ffmpegVersionNumber = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['ffmpeg'].split('-')[1])"+ $ffmpegUrl = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['ffmpeg'])"$OriPath = $env:PATHecho "Install Tinytex"Invoke-WebRequest "https://ci.appveyor.com/api/projects/yihui/tinytex/artifacts/TinyTeX.zip?job=image:%20Visual%20Studio%202019" -O "$($env:TMP)\TinyTex.zip"@@ -90,8 +89,8 @@ jobs:Invoke-WebRequest "https://downloads.sourceforge.net/project/sox/sox/$($soxVersionNumber)/$($soxVersion).zip" -UserAgent "wget" -O "$($env:TMP)\SoX.zip"7z x "$($env:TMP)\SoX.zip" -o"$($PWD)\ManimCache"Move-Item "ManimCache\sox-*" "ManimCache\SoX"- Invoke-WebRequest "https://ffmpeg.zeranoe.com/builds/win64/static/$($ffmpegVersion).zip" -O "$($env:TMP)\$($ffmpegVersion).zip"- 7z x "$($env:TMP)\$($ffmpegVersion).zip" -o"$($PWD)\ManimCache"+ Invoke-WebRequest "$ffmpegUrl" -O "$($env:TMP)\ffmpeg.zip"+ 7z x "$($env:TMP)\ffmpeg.zip" -o"$($PWD)\ManimCache"Move-Item "ManimCache\ffmpeg-*" "ManimCache\FFmpeg"- name: Add Windows dependecies to path