76
76
uses : actions/cache@v2
77
77
with :
78
78
path : ${{ github.workspace }}/macos-cache
79
- key : ${{ runner.os }}-dependencies-tinytex-${{ hashFiles('.github/manimdependency.json') }}-${{ steps.cache-vars.outputs.date }}
79
+ key : ${{ runner.os }}-dependencies-tinytex-${{ hashFiles('.github/manimdependency.json') }}-${{ steps.cache-vars.outputs.date }}-1
80
80
81
81
- name : Install system dependencies (MacOS)
82
82
if : runner.os == 'macOS' && steps.cache-macos.outputs.cache-hit != 'true'
87
87
oriPath=$PATH
88
88
sudo mkdir -p $PWD/macos-cache
89
89
echo "Install TinyTeX"
90
- sudo curl -L -o "/tmp/TinyTeX.tgz" "https://ci.appveyor. com/api/projects/ yihui/tinytex/artifacts/ TinyTeX.tgz?job=image:%20macOS "
90
+ sudo curl -L -o "/tmp/TinyTeX.tgz" "https://github. com/yihui/tinytex-releases/releases/download/daily/ TinyTeX-1 .tgz"
91
91
sudo tar zxf "/tmp/TinyTeX.tgz" -C "$PWD/macos-cache"
92
92
export PATH="$PWD/macos-cache/TinyTeX/bin/universal-darwin:$PATH"
93
93
sudo tlmgr update --self
@@ -115,7 +115,7 @@ jobs:
115
115
uses : actions/cache@v2
116
116
with :
117
117
path : ${{ github.workspace }}\ManimCache
118
- key : ${{ runner.os }}-dependencies-tinytex-${{ hashFiles('.github/manimdependency.json') }}-${{ steps.cache-vars.outputs.date }}
118
+ key : ${{ runner.os }}-dependencies-tinytex-${{ hashFiles('.github/manimdependency.json') }}-${{ steps.cache-vars.outputs.date }}-1
119
119
120
120
- name : Setup MSYS2 (Windows)
121
121
if : runner.os == 'Windows'
@@ -133,7 +133,7 @@ jobs:
133
133
$tinyTexPackages = $(python -c "import json;print(' '.join(json.load(open('.github/manimdependency.json'))['windows']['tinytex']))") -Split ' '
134
134
$OriPath = $env:PATH
135
135
echo "Install Tinytex"
136
- Invoke-WebRequest "https://ci.appveyor. com/api/projects/ yihui/tinytex/artifacts/ TinyTeX.zip?job=image:%20Visual%20Studio%202019 " -O "$($env:TMP)\TinyTex.zip"
136
+ Invoke-WebRequest "https://github. com/yihui/tinytex-releases/releases/download/daily/ TinyTeX-1 .zip" -O "$($env:TMP)\TinyTex.zip"
137
137
Expand-Archive -LiteralPath "$($env:TMP)\TinyTex.zip" -DestinationPath "$($PWD)\ManimCache\LatexWindows"
138
138
$env:Path = "$($PWD)\ManimCache\LatexWindows\TinyTeX\bin\win32;$($env:PATH)"
139
139
tlmgr update --self
0 commit comments