-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
GitHub Actions now supports M1 macOS runners: https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/. However, it's not available under the macos-latest label until June this year: https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
I'm wondering what the best way would be to specify macos-14. This currently isn't possible since we automatically append -latest:
| runs-on: ${{ fromJSON(vars[format('UCI_GO_TEST_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }} |
Also keep in mind that some workflow have specified OS switches (if matrix.os == 'ubuntu'), so it would be unfortunate if matrix.os would be renamed. I think the cleanest solution would be to somehow do a map lookup that would resolve ubuntu to ubuntu-latest and macos to macos-14.
Metadata
Metadata
Assignees
Labels
No labels