diff --git a/dev/ci/setup-sccache b/dev/ci/setup-sccache index 1f98b3b207..19b921edf3 100755 --- a/dev/ci/setup-sccache +++ b/dev/ci/setup-sccache @@ -4,13 +4,13 @@ set -e ARCH="$1" echo "PATH=/usr/local/libexec/sccache:$PATH" >> "$GITHUB_ENV" -echo "SCCACHE_ERROR_LOG=/proc/$$/fd/2" >> "$GITHUB_ENV" +echo "SCCACHE_ERROR_LOG=$(tty)" >> "$GITHUB_ENV" set -x wget --output-document sccache.tar.gz "https://github.com/mozilla/sccache/releases/download/v0.8.1/sccache-v0.8.1-$ARCH.tar.gz" tar xzf sccache.tar.gz -sudo mv sccache /usr/local/bin/ +sudo mv sccache* /usr/local/bin/sccache mkdir /usr/local/libexec/sccache sudo ln -s /usr/local/bin/sccache /usr/local/libexec/sccache/cc