Skip to content

Commit

Permalink
Ignore errors of brew update in setup_ccache
Browse files Browse the repository at this point in the history
It may fail creating some symlinks which we don't care about. See e.g. https://github.com/actions/runner-images/issues/6817
  • Loading branch information
Flamefire authored Dec 22, 2022
1 parent f23b599 commit 677a6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/setup_ccache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! command -v ccache &> /dev/null; then
if [ -f "/etc/debian_version" ]; then
sudo apt-get install ${NET_RETRY_COUNT:+ -o Acquire::Retries=$NET_RETRY_COUNT} -y ccache
elif command -v brew &> /dev/null; then
brew update > /dev/null
brew update > /dev/null || true # Ignore spurious errors, although the next command may fail.
brew install ccache
fi
fi
Expand Down

0 comments on commit 677a6a1

Please sign in to comment.