Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Use a try-catch to fallback to Github links if yihui.org is down.

Aathish Sivasubrahmanian308aa0f470a6
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 751ff1889..70057610d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,6 +3,7 @@ on:
push:
branches:
- master
+ - try-single-test
pull_request:
branches:
- master
@@ -44,7 +45,8 @@ jobs:
- name: Install system dependencies (Windows)
if: runner.os == 'Windows'
run: |
- Invoke-WebRequest https://yihui.org/gh/tinytex/tools/install-windows.bat -O install_tinytex.bat
+ Try {Invoke-WebRequest https://yihui.org/gh/tinytex/tools/install-windows.bat -O install_tinytex.bat}
+ Catch {Invoke-WebRequest https://raw.githubusercontent.com/yihui/tinytex/master/tools/install-windows.bat -O install_tinytex.bat}
Start-Process install_tinytex.bat -NoNewWindow -Wait
$env:Path += ";" + $env:APPDATA + "\TinyTeX\bin\win32"
tlmgr install standalone preview doublestroke ms setspace rsfs relsize ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super babel-english