Closed ReenigneArcher closed 2 weeks ago
Please provide a full workflow file you see the problem with
This is the simplest reproduction I could create. https://github.com/ReenigneArcher/brew-error-reproduction/blob/master/.github/workflows/brew_error.yml
It works fine if not using the codeql setup step first. Here are the logs: https://github.com/ReenigneArcher/brew-error-reproduction/actions/runs/8870403949/job/24352158742
Hello @ReenigneArcher. Thanks for your report. Unfortunately we do not maintain CodeQL here. Please fill related in github/codeql-action repo . I am closing this issue as not runner-images related but if you have additional questions feel free to ask.
Description
macos-latest tag now points to macos-14-arm64, under this architecture homebrew has issues installing some packages.
The following command:
Results in:
I noticed that running
uname -m
returnsx86_64
. That seems a little fishy if the image is actuallyarm64
.Platforms affected
Runner images affected
Image version and build link
Image: macos-14-arm64 Version: 20240422.3 Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240422.3/images/macos/macos-14-arm64-Readme.md Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240422.3
Is it regression?
Yes. macos-12 (when it was macos-latest) https://github.com/actions/runner-images/releases/tag/macOS-12%2F20240418.1
Expected behavior
Homebrew properly detects image architecture, and uname properly reports it.
Actual behavior
Homebrew doesn't properly detect image architecture and uname doesn't properly report it.
Repro steps
Run this workflow: https://github.com/ReenigneArcher/brew-error-reproduction/blob/master/.github/workflows/brew_error.yml