File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ jobs:
104104 oriPath=$PATH
105105 sudo mkdir -p $PWD/macos-cache
106106 echo "Install TinyTeX"
107- sudo curl -L -o "/tmp/TinyTeX.tgz " "https://github.com/yihui /tinytex-releases/releases/download/daily/TinyTeX-1.tgz "
108- sudo tar zxf "/tmp/TinyTeX.tgz " -C "$PWD/macos-cache"
107+ sudo curl -L -o "/tmp/TinyTeX.tar.xz " "https://github.com/rstudio /tinytex-releases/releases/download/daily/TinyTeX-1-darwin.tar.xz "
108+ sudo tar xJf "/tmp/TinyTeX.tar.xz " -C "$PWD/macos-cache"
109109 export PATH="$PWD/macos-cache/TinyTeX/bin/universal-darwin:$PATH"
110110 sudo tlmgr update --self
111111 for i in "${ttp[@]}"; do
@@ -137,8 +137,8 @@ jobs:
137137 $tinyTexPackages = $(python -c "import json;print(' '.join(json.load(open('.github/manimdependency.json'))['windows']['tinytex']))") -Split ' '
138138 $OriPath = $env:PATH
139139 echo "Install Tinytex"
140- Invoke-WebRequest "https://github.com/yihui /tinytex-releases/releases/download/daily/TinyTeX-1.zip " -OutFile "$($env:TMP)\TinyTex.zip "
141- Expand-Archive -LiteralPath "$($ env:TMP) \TinyTex.zip" -DestinationPath "$($PWD)\ManimCache\LatexWindows"
140+ Invoke-WebRequest "https://github.com/rstudio /tinytex-releases/releases/download/daily/TinyTeX-1-windows.exe " -OutFile "$($env:TMP)\TinyTex.exe "
141+ .$ env:TMP\TinyTex.exe -o "$($PWD)\ManimCache\LatexWindows"
142142 $env:Path = "$($PWD)\ManimCache\LatexWindows\TinyTeX\bin\windows;$($env:PATH)"
143143 tlmgr update --self
144144 tlmgr install $tinyTexPackages
You can’t perform that action at this time.
0 commit comments