Skip to content

Commit 4288755

Browse files
committed
chore(workflows): update release.yml for runner settings
- Added environment variable for Node.js version - Changed runner to use matrix variable - Updated runners for Linux ARM and Windows builds
1 parent c6e1f5b commit 4288755

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,31 @@ on:
66
pull_request:
77
branches: [main]
88

9+
env:
10+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
11+
912
jobs:
1013
build:
1114
name: Build ${{ matrix.output }}
12-
runs-on: ubuntu-latest
15+
runs-on: ${{ matrix.runner }}
1316
strategy:
1417
matrix:
1518
include:
1619
- target: bun-darwin-x64
1720
output: commita-darwin-amd64
21+
runner: ubuntu-latest
1822
- target: bun-darwin-arm64
1923
output: commita-darwin-arm64
24+
runner: ubuntu-latest
2025
- target: bun-linux-x64
2126
output: commita-linux-amd64
27+
runner: ubuntu-latest
2228
- target: bun-linux-arm64
2329
output: commita-linux-arm64
30+
runner: ubuntu-24.04-arm
2431
- target: bun-windows-x64
2532
output: commita-windows-amd64.exe
33+
runner: ubuntu-latest
2634

2735
steps:
2836
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)