From eb86ad6523705fa179b452f7e5ff25f407c71930 Mon Sep 17 00:00:00 2001 From: peter madsen-mygdal Date: Sat, 14 Mar 2026 17:28:58 +0100 Subject: [PATCH] feat: add macOS-26 to supported ImageOS mappings (#430) Add macos26 to the ImageOSToContainer map so runners using macOS-26 are recognized instead of throwing an error. Update macos.yml Update README.md --- .github/workflows/macos.yml | 3 +++ README.md | 2 ++ dist/index.js | 1 + src/setup-beam.js | 1 + 4 files changed, 7 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 48a7cc3..38d0885 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -45,6 +45,9 @@ jobs: version-type: 'strict' - otp-version: '25' os: 'macos-15' + - otp-version: '27' + elixir-version: '1.18' + os: 'macos-26' - otp-version: '26' elixir-version: '1.16' rebar3-version: '3.25' diff --git a/README.md b/README.md index bd1b587..8548460 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ and Erlang/OTP. | `macOS-13` | 25.0 - 28 | x86_64, arm64 | ✅ | `macOS-14` | 25.0 - 28 | x86_64, arm64 | ✅ | `macOS-15` | 25.0 - 28 | x86_64, arm64 | ✅ +| `macOS-26` | 25.0 - 28 | x86_64, arm64 | ✅ **Note** \*: prior to 23, Windows builds are only available for minor versions, e.g. 21.0, 21.3, 22.0, etc. @@ -107,6 +108,7 @@ uses that to download assets: | `macos13` | `macOS-13` | `macos14` | `macOS-14` | `macos15` | `macOS-15` +| `macos26` | `macOS-26` as per the following example: diff --git a/dist/index.js b/dist/index.js index 357e51a..08df44d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -58172,6 +58172,7 @@ function getRunnerOSVersion() { macos13: 'macOS-13', macos14: 'macOS-14', macos15: 'macOS-15', + macos26: 'macOS-26', } const deprecatedImageOSToContainer = { ubuntu18: 'ubuntu-18.04', diff --git a/src/setup-beam.js b/src/setup-beam.js index 5ff2547..c466603 100644 --- a/src/setup-beam.js +++ b/src/setup-beam.js @@ -665,6 +665,7 @@ function getRunnerOSVersion() { macos13: 'macOS-13', macos14: 'macOS-14', macos15: 'macOS-15', + macos26: 'macOS-26', } const deprecatedImageOSToContainer = { ubuntu18: 'ubuntu-18.04',