2929 - host : macos-latest
3030 target : x86_64-apple-darwin
3131 build : |
32- yarn build
32+ yarn build --target x86_64-apple-darwin
3333 strip -x *.node
3434 - host : windows-latest
3535 build : yarn build
5151 steps :
5252 - uses : actions/checkout@v3
5353 - name : Setup node
54- uses : actions/setup-node@v3
54+ uses : actions/setup-node@v4
5555 if : ${{ !matrix.settings.docker }}
5656 with :
5757 node-version : 18
8888 - name : Install dependencies
8989 run : yarn install
9090 - name : Setup node x86
91- uses : actions/setup-node@v3
91+ uses : actions/setup-node@v4
9292 if : matrix.settings.target == 'i686-pc-windows-msvc'
9393 with :
9494 node-version : 18
@@ -132,7 +132,7 @@ jobs:
132132 steps :
133133 - uses : actions/checkout@v3
134134 - name : Setup node
135- uses : actions/setup-node@v3
135+ uses : actions/setup-node@v4
136136 with :
137137 node-version : ${{ matrix.node }}
138138 check-latest : true
@@ -157,14 +157,13 @@ jobs:
157157 fail-fast : false
158158 matrix :
159159 node :
160- - " 14"
161160 - " 16"
162161 - " 18"
163162 runs-on : ubuntu-latest
164163 steps :
165164 - uses : actions/checkout@v3
166165 - name : Setup node
167- uses : actions/setup-node@v3
166+ uses : actions/setup-node@v4
168167 with :
169168 node-version : ${{ matrix.node }}
170169 check-latest : true
@@ -189,7 +188,7 @@ jobs:
189188 steps :
190189 - uses : actions/checkout@v3
191190 - name : Setup node
192- uses : actions/setup-node@v3
191+ uses : actions/setup-node@v4
193192 with :
194193 node-version : 18
195194 check-latest : true
@@ -200,12 +199,12 @@ jobs:
200199 uses : actions/download-artifact@v4
201200 with :
202201 name : bindings-x86_64-apple-darwin
203- path : artifacts
202+ path : .
204203 - name : Download macOS arm64 artifact
205204 uses : actions/download-artifact@v4
206205 with :
207206 name : bindings-aarch64-apple-darwin
208- path : artifacts
207+ path : .
209208 - name : Combine binaries
210209 run : yarn universal
211210 - name : Upload artifact
@@ -224,7 +223,7 @@ jobs:
224223 steps :
225224 - uses : actions/checkout@v3
226225 - name : Setup node
227- uses : actions/setup-node@v3
226+ uses : actions/setup-node@v4
228227 with :
229228 node-version : 18
230229 check-latest : true
0 commit comments