macOS 14 (Sonoma) is now generally available. Over the next 12 weeks, jobs using the macos-latest
runner label will migrate from macOS 12 (Monterey) to macOS 14 (Sonoma). During migration, you can determine if your job has migrated by viewing the Runner Image
information in the Set up job
step of your logs. This announcement also applies to larger macOS runners, for which the following runner labels can be used:
macos-latest-xlarge
macos-latest-large
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test
To use macOS 14 directly, update runs-on:
in your workflow file to macos-14
, macos-14-xlarge
, or macos-14-large
:
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test
The macOS 14 runner image has different tools and tool versions than macOS 12. See the full list of changed software.
Please note that once your workflows run on macOS 14 using latest
they will not revert to run on older image versions. If you spot any issues with your workflows when using macOS 14, please let us know by creating an issue in the runner-images repository.