Skip to content

Commit d6ccab5

Browse files
committed
add m1 runner
1 parent 78d5b63 commit d6ccab5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,24 @@ jobs:
66
Build:
77
strategy:
88
matrix:
9-
os: [ubuntu-latest, windows-latest, macos-latest]
9+
os: [ubuntu-latest, windows-latest, macos-latest, 'ghcr.io/cirruslabs/macos-monterey-xcode:latest']
1010
runs-on: ${{matrix.os}}
1111
steps:
1212
- name: Checking out Repository
1313
uses: actions/checkout@v3
1414
with:
1515
submodules: true
1616

17+
- name: Installing node
18+
if: ${{runner.os == 'macOS' && runner.arch == 'arm64'}}
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 16
22+
23+
- name: Installing yarn
24+
if: ${{runner.os == 'macOS' && runner.arch == 'arm64'}}
25+
run: npm install -g yarn
26+
1727
- name: Building
1828
run: yarn install
1929

0 commit comments

Comments
 (0)