-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Ubuntu] homebrew will be removed from PATH variable #6283
Comments
Enormous breakage, enormous number of repositories. And oddly to this point, intermittent. |
Github linux runner image updated - actions/runner-images#6283 Signed-off-by: Inho Oh <[email protected]>
This was recently removed from the path in GitHub Actions runners. See actions/runner-images#6283
Strange approach... lets brake image that used probably by 95% of github actions. Where there an announcement made about these changes? If not - it makes github images completely unreliable. |
Fix brew no longer in path on ubuntu machines
[Homebrew has been removed from $PATH](actions/runner-images#6283) in Ubuntu images on Github actions.
Ubuntu 18.04 runner is deprecated and linuxbrew-wrapper is no longer exist in new runner. See actions/runner-images#6283 Ref: - https://github.com/Homebrew/actions/tree/master/setup-homebrew - https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md
Ubuntu 18.04 runner is deprecated and linuxbrew-wrapper is no longer exist in new runner. See actions/runner-images#6283 Ref: - https://github.com/Homebrew/actions/tree/master/setup-homebrew - https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md
https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md still says ubuntu-22 includes homebrew. |
It does include homebrew, it's just not in the PATH |
Using suggested mitigation does not work and fails with
|
Use GitHub action to setup Homebrew for ubuntu runner image, as described in actions/runner-images#6283
The amount of breaking changes in GHA runner images is staggering. For the last 30 days we see randomly failing workflows because GitHub released incompatible images without any communication. |
Homebrew is being removed from the Ubuntu GitHub Actions `$PATH`. actions/runner-images#6283
Summary: This change setups homebrew on Ubuntu. Due to actions/runner-images#6283, brew is not in the PATH anymore. ## Changelog: [Internal] - Setup homebrew in ubuntu machine Pull Request resolved: #46575 Test Plan: Can't test before it lands. :( Reviewed By: cortinico Differential Revision: D63027253 Pulled By: cipolleschi fbshipit-source-id: e0b3a3c1a2a7b0659f0c1f57c45d8d42a74734a1
Breaking changes
homebrew will be removed from $PATH on Ubuntu images.
Target date
Image deployment will start September 22nd, and will be finished on Monday, September 27th.
The motivation for the changes
Starting with homebrew 3.6.0, gcc and its toolchain (binutils and glibc) became mandatory dependencies for any installed package. We are going to remove homebrew from the $PATH variable so it does not conflict with the canonical-provided software and toolchain.
See more:
Possible impact
If your project depends on homebrew your build will be broken.
Platforms affected
Runner images affected
Mitigation Path
Please use
Homebrew/actions/setup-homebrew
action to make brew available during running session.The text was updated successfully, but these errors were encountered: