Pārlūkot izejas kodu

ci: Fix publishing of cli-macos-x64 (#9584)

Fabian-Lars 1 gadu atpakaļ
vecāks
revīzija
5a213a4bdc
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      .github/workflows/publish-cli-js.yml

+ 3 - 3
.github/workflows/publish-cli-js.yml

@@ -30,7 +30,7 @@ jobs:
             target: x86_64-apple-darwin
             architecture: x64
             build: |
-              yarn build:release
+              yarn build:release --target=x86_64-apple-darwin
               strip -x *.node
           - host: windows-latest
             build: yarn build:release
@@ -195,7 +195,7 @@ jobs:
       matrix:
         settings:
           - host: macos-latest
-            target: 'x86_64-apple-darwin'
+            target: aarch64-apple-darwin
           - host: windows-latest
             target: x86_64-pc-windows-msvc
         node:
@@ -372,7 +372,7 @@ jobs:
       - name: Setup node
         uses: actions/setup-node@v3
         with:
-          node-version: 16
+          node-version: 20
           check-latest: true
           cache: yarn
           cache-dependency-path: 'tooling/cli/node/yarn.lock'