-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub CI: Workaround an issue on GitHub's macos runners
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
brew update | ||
|
||
# The install of 'texlive' may cause the install of a newer version of | ||
# 'python', which could fail because it cannot overwrite links for | ||
# older versions, due to an issue with the GitHub runner images: | ||
# https://github.com/actions/runner-images/issues/9966 | ||
# To avoid that, we unlink and install with overwrite: | ||
# | ||
for python_package in $(brew list | grep python@); do | ||
brew unlink ${python_package} && brew link --overwrite ${python_package} | ||
done | ||
|
||
brew install texlive |