Skip to content

Commit eb86ad6

Browse files
authored
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
1 parent af6da5d commit eb86ad6

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.github/workflows/macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
version-type: 'strict'
4646
- otp-version: '25'
4747
os: 'macos-15'
48+
- otp-version: '27'
49+
elixir-version: '1.18'
50+
os: 'macos-26'
4851
- otp-version: '26'
4952
elixir-version: '1.16'
5053
rebar3-version: '3.25'

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ and Erlang/OTP.
8888
| `macOS-13` | 25.0 - 28 | x86_64, arm64 | ✅
8989
| `macOS-14` | 25.0 - 28 | x86_64, arm64 | ✅
9090
| `macOS-15` | 25.0 - 28 | x86_64, arm64 | ✅
91+
| `macOS-26` | 25.0 - 28 | x86_64, arm64 | ✅
9192

9293
**Note** \*: prior to 23, Windows builds are only available for minor versions, e.g. 21.0, 21.3,
9394
22.0, etc.
@@ -107,6 +108,7 @@ uses that to download assets:
107108
| `macos13` | `macOS-13`
108109
| `macos14` | `macOS-14`
109110
| `macos15` | `macOS-15`
111+
| `macos26` | `macOS-26`
110112

111113
as per the following example:
112114

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58172,6 +58172,7 @@ function getRunnerOSVersion() {
5817258172
macos13: 'macOS-13',
5817358173
macos14: 'macOS-14',
5817458174
macos15: 'macOS-15',
58175+
macos26: 'macOS-26',
5817558176
}
5817658177
const deprecatedImageOSToContainer = {
5817758178
ubuntu18: 'ubuntu-18.04',

src/setup-beam.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ function getRunnerOSVersion() {
665665
macos13: 'macOS-13',
666666
macos14: 'macOS-14',
667667
macos15: 'macOS-15',
668+
macos26: 'macOS-26',
668669
}
669670
const deprecatedImageOSToContainer = {
670671
ubuntu18: 'ubuntu-18.04',

0 commit comments

Comments
 (0)