Skip to content

Commit 201f18a

Browse files
liuzejialiuzejia
authored andcommitted
fix: ci 删除 universal-apple-darwin
1 parent 4b1d766 commit 201f18a

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -355,39 +355,6 @@ jobs:
355355
set -e
356356
yarn test
357357
ls -la
358-
universal-macOS:
359-
name: Build universal macOS binary
360-
needs:
361-
- build
362-
runs-on: macos-latest
363-
steps:
364-
- uses: actions/checkout@v3
365-
- name: Setup node
366-
uses: actions/setup-node@v3
367-
with:
368-
node-version: 18
369-
check-latest: true
370-
cache: yarn
371-
- name: Install dependencies
372-
run: yarn install
373-
- name: Download macOS x64 artifact
374-
uses: actions/download-artifact@v3
375-
with:
376-
name: bindings-x86_64-apple-darwin
377-
path: artifacts
378-
- name: Download macOS arm64 artifact
379-
uses: actions/download-artifact@v3
380-
with:
381-
name: bindings-aarch64-apple-darwin
382-
path: artifacts
383-
- name: Combine binaries
384-
run: yarn universal
385-
- name: Upload artifact
386-
uses: actions/upload-artifact@v3
387-
with:
388-
name: bindings-universal-apple-darwin
389-
path: ${{ env.APP_NAME }}.*.node
390-
if-no-files-found: error
391358
publish:
392359
name: Publish
393360
runs-on: ubuntu-latest
@@ -398,7 +365,6 @@ jobs:
398365
- test-linux-aarch64-gnu-binding
399366
- test-linux-aarch64-musl-binding
400367
- test-linux-arm-gnueabihf-binding
401-
- universal-macOS
402368
steps:
403369
- uses: actions/checkout@v3
404370
- name: Setup node

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"aarch64-unknown-linux-musl",
1313
"armv7-unknown-linux-gnueabihf",
1414
"x86_64-unknown-linux-musl",
15-
"i686-pc-windows-msvc",
16-
"universal-apple-darwin"
15+
"i686-pc-windows-msvc"
1716
]
1817
}
1918
},

0 commit comments

Comments
 (0)