Skip to content

Commit 6a2aa1e

Browse files
authored
CI: update tinytex archive url (#2484)
The previous one we used started to reach rate-limit and I hope Github's release doesn't reach the rate limit.
1 parent a2b21df commit 6a2aa1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
uses: actions/cache@v2
7777
with:
7878
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
8080

8181
- name: Install system dependencies (MacOS)
8282
if: runner.os == 'macOS' && steps.cache-macos.outputs.cache-hit != 'true'
@@ -87,7 +87,7 @@ jobs:
8787
oriPath=$PATH
8888
sudo mkdir -p $PWD/macos-cache
8989
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"
9191
sudo tar zxf "/tmp/TinyTeX.tgz" -C "$PWD/macos-cache"
9292
export PATH="$PWD/macos-cache/TinyTeX/bin/universal-darwin:$PATH"
9393
sudo tlmgr update --self
@@ -115,7 +115,7 @@ jobs:
115115
uses: actions/cache@v2
116116
with:
117117
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
119119

120120
- name: Setup MSYS2 (Windows)
121121
if: runner.os == 'Windows'
@@ -133,7 +133,7 @@ jobs:
133133
$tinyTexPackages = $(python -c "import json;print(' '.join(json.load(open('.github/manimdependency.json'))['windows']['tinytex']))") -Split ' '
134134
$OriPath = $env:PATH
135135
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"
137137
Expand-Archive -LiteralPath "$($env:TMP)\TinyTex.zip" -DestinationPath "$($PWD)\ManimCache\LatexWindows"
138138
$env:Path = "$($PWD)\ManimCache\LatexWindows\TinyTeX\bin\win32;$($env:PATH)"
139139
tlmgr update --self

0 commit comments

Comments
 (0)