Bump Mac Casks on Linux #5288
Unanswered
WangEdward
asked this question in
Linux
Replies: 2 comments 1 reply
-
Have you tried |
Beta Was this translation helpful? Give feedback.
1 reply
-
i got bit by this today to, when setting up a ubuntu runner for the freecad tap. the below links helped shed some light on my issue. hope they help. https://docs.brew.sh/Formula-Cookbook#handling-different-system-configurations |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem:
Since homebrew
4.2.0
, callingOS::Mac
on Linux is deprecated in Homebrew/brew#16224 and Homebrew/brew#16306I used to use Linux machines on GitHub actions to bump some Mac casks in a private repo. This no longer functioned due to the error:
Calling 'MacOS.version' on Linux is deprecated! There is no replacement.
Current workaround
I manually checked out homebrew to
tags/4.1.21
in my workflow file. However, I don't think it's a good idea to use an outdated version all the time.Why do I not use Mac machines provided by GitHub action? Mac machines are billed 10x for private repos. Using Linux machines allows me to run the bump more frequently.
My question:
Is it still possible to run
brew bump
for Mac casks on Linux?If not, is there any alternative way to bump a cask without switching to Mac / stuck on an old version?
Thanks for the help! ❤️
Beta Was this translation helpful? Give feedback.
All reactions