-
Notifications
You must be signed in to change notification settings - Fork 3.4k
{CI} Update homebrew to latest version during formula test #31623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -654,10 +654,13 @@ jobs: | |
|
|
||
| - bash: | | ||
| set -ev | ||
| # Force relink python@3.xx in Homebrew to resolve the conflict with pre-installed python 3.xx on macOS-12 image | ||
| # See: https://github.com/Azure/azure-cli/issues/29054 | ||
| python_version=3.12 | ||
| brew unlink python@$python_version && brew link --overwrite python@$python_version | ||
| # Force relink python@3.xx in Homebrew to resolve the conflict with pre-installed python 3.xx on macOS | ||
| # See: https://github.com/actions/runner-images/issues/9966 | ||
| brew unlink python@3.12 && brew link --overwrite python@3.12 | ||
| brew unlink python@3.13 && brew link --overwrite python@3.13 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Dependency chain
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is there a dollar sign in
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo. Weird, the task still succeeds. This line's exit code is 1. The set -e
false && false
echo "wat"
>>> wat
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In See |
||
|
|
||
| # update homebrew to latest version in case the formula is not compatible with the current homebrew version | ||
| brew update | ||
|
|
||
| echo == Remove pre-installed azure-cli == | ||
| brew uninstall azure-cli | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One year later, the problem remains unresolved. Update the link to the runner-image issue.