This seems to affect the macos-13 runner but not macos-12 or macos-14.
brew doctor output
This is the output for an otherwise unconfigured macos-13 runner on GitHub Actions:
Run brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
openssl@1.1
packer
Warning: You have an unnecessary local Cask tap.
This can cause problems installing up-to-date casks.
Please remove it by running:
brew untap homebrew/cask
Warning: You have an unnecessary local Core tap!
This can cause problems installing up-to-date formulae.
Please remove it by running:
brew untap homebrew/core
Error: Process completed with exit code 1.
Verification
[ ] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
I've had this job configured for macos-12, macos-13, and macos-14 for a while. As of a few days ago, the macos-13 runner has started failing because brew install imagemagick tries to install upgrades and fails.
This happens even if I explicitly specify env HOMEBREW_NO_AUTO_UPDATE=1 brew install imagemagick. 😬
Description
Here is a copy of the info from https://github.com/Homebrew/brew/issues/16930
This seems to affect the
macos-13
runner but notmacos-12
ormacos-14
.brew doctor
outputThis is the output for an otherwise unconfigured
macos-13
runner on GitHub Actions:Verification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputThis is the output for an otherwise unconfigured
macos-13
runner on GitHub Actions:What were you trying to do (and why)?
https://github.com/lgarron/folderify has a CI job that installs ImageMagick https://github.com/lgarron/folderify/blob/main/.github/workflows/test.yml
I've had this job configured for
macos-12
,macos-13
, andmacos-14
for a while. As of a few days ago, themacos-13
runner has started failing becausebrew install imagemagick
tries to install upgrades and fails.This happens even if I explicitly specify
env HOMEBREW_NO_AUTO_UPDATE=1 brew install imagemagick
. 😬The last successful run was on Feb. 20: https://github.com/lgarron/folderify/actions/runs/7971638479 the first time I observed a failure was March 15: https://github.com/lgarron/folderify/actions/runs/8293815382
What happened (include all command output)?
Full output of the failure:
Successful output before the failure started happening:
What did you expect to happen?
brew install imagemagick
succeeds, or at leastenv HOMEBREW_NO_AUTO_UPDATE=1 brew install imagemagick
succeeds.Step-by-step reproduction instructions (by running
brew
commands)A GitHub action containing:
Platforms affected
Runner images affected
Image version and build link
Version: 20240219.1
Last successful run: https://github.com/lgarron/folderify/actions/runs/7971638479/job/21761754086 First failing run: https://github.com/lgarron/folderify/actions/runs/8293815382/job/22697619704
Is it regression?
Yes
Expected behavior
brew install imagemagick
works in themacos-13
runner.Actual behavior
It fails (see above for full log).
Repro steps
A GitHub action containing: