Commit 1f2df7f
committed
fix - install unzip and extend setup-bun to handle ARM64 Blacksmith runners
Blacksmith's ubuntu-2404 runners run on ARM64 hardware (RUNNER_ARCH=ARM64).
The previous action only built an explicit bun download URL for X64, so ARM64
fell through to oven-sh/setup-bun@v2's default path which downloads
bun-linux-aarch64.zip and extracts it via the system unzip command. Blacksmith's
ARM64 Ubuntu image doesn't pre-install unzip, causing all e2e and unit CI jobs
to fail at the Setup Bun step.
Two changes:
- Add a Linux step that installs unzip if not already present (direct fix)
- Rewrite the URL construction with case/esac covering both X64 and ARM64 for
all OS variants, replacing the x64-only if block (architecture fix)1 parent 23b2cc8 commit 1f2df7f
1 file changed
Lines changed: 21 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
| |||
0 commit comments