A community-maintained Python framework for creating mathematical animations.
CI: Fix macOS installation error from creating file in read-only file system (#1339)
Ricky Chone55d7be82f4f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 6b4cde3c6..d0a833e65 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -77,14 +77,14 @@ jobs:IFS=' 'read -a ttp <<< "$tinyTexPackages"oriPath=$PATH- mkdir -p $PWD/macos-cache+ sudo mkdir -p $PWD/macos-cacheecho "Install TinyTeX"- curl -L -o "$TEMP/TinyTeX.tgz" "https://ci.appveyor.com/api/projects/yihui/tinytex/artifacts/TinyTeX.tgz?job=image:%20macOS"- tar zxf "$TEMP/TinyTeX.tgz" -C "$PWD/macos-cache"+ sudo curl -L -o "/tmp/TinyTeX.tgz" "https://ci.appveyor.com/api/projects/yihui/tinytex/artifacts/TinyTeX.tgz?job=image:%20macOS"+ sudo tar zxf "/tmp/TinyTeX.tgz" -C "$PWD/macos-cache"export PATH="$PWD/macos-cache/TinyTeX/bin/universal-darwin:$PATH"sudo tlmgr update --selffor i in "${ttp[@]}"; do- tlmgr install "$i"+ sudo tlmgr install "$i"doneexport PATH="$oriPath"echo "Completed TinyTeX"