Skip to content

Commit fce54ee

Browse files
committed
actions: no windows arm
1 parent 25cfc00 commit fce54ee

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- "v*"
66

77
jobs:
8-
release:
8+
release-x64:
99
runs-on: ${{ matrix.os }}
1010

1111
strategy:
@@ -23,4 +23,25 @@ jobs:
2323
- name: publish
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
run: yarn publish && yarn publish --arch=arm64
26+
run: yarn publish
27+
28+
# separate job for parallel building
29+
release-arm64:
30+
runs-on: ${{ matrix.os }}
31+
32+
strategy:
33+
matrix:
34+
os: [macos-latest, ubuntu-latest] # don't run on windows
35+
36+
steps:
37+
- uses: actions/checkout@main
38+
- uses: actions/setup-node@main
39+
with:
40+
node-version: 16
41+
cache: yarn
42+
- name: install dependencies
43+
run: yarn
44+
- name: publish
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
run: yarn publish --arch=arm64

0 commit comments

Comments
 (0)