Commit 5d2e04f
committed
ci: override ImageOS=ubuntu24 on ARM64 release job
The Linux ARM64 release job (runs-on: ubuntu-24.04-arm) was
failing at the erlef/setup-beam step with:
Tried to map a target OS from env. variable 'ImageOS' (got
ubuntu24-arm64), but failed. [...supported: ubuntu22, ubuntu24,
win19, win22, win25, macos13, macos14, macos15, macos26]
GitHub does support ARM runners, but the runner reports its
ImageOS as 'ubuntu24-arm64' which setup-beam's OS mapping
doesn't know about. The action's own error message tells us to
override 'ImageOS' to one of the supported values.
Override to 'ubuntu24' on the release job only. The Erlang/Elixir
prebuilt binaries from elixir-lang are architecture-independent
(Elixir ships separate aarch64 binaries for macOS but uses the
same x86_64-built ERTS via the linux x86_64 release on Linux
runners), so the ubuntu24 binaries work fine on the arm64
runner for our build purposes.
Confirmed: actionlint clean, mix ci green, 162 tests pass.1 parent 19902c4 commit 5d2e04f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
231 | 238 | | |
232 | 239 | | |
233 | 240 | | |
| |||
0 commit comments