Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed May 9, 2024
1 parent db7deb4 commit a947d6a
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.APP_NAME }}.${{ matrix.settings.name }}.node
name: bindings-${{ matrix.settings.target }}
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
test-macOS-windows-binding:
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ env.APP_NAME }}.${{ matrix.settings.name }}.node
name: bindings-${{ matrix.settings.target }}
path: .
- name: List packages
run: ls -R .
Expand Down Expand Up @@ -329,25 +329,19 @@ jobs:
- name: Download macOS x64 artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.APP_NAME }}.darwin-x64.node
name: bindings-x86_64-apple-darwin
path: artifacts
- name: Download macOS arm64 artifact
uses: actions/download-artifact@v4
with:
name: bindings-aarch64-apple-darwin
path: artifacts
- name: List packages
run: ls artifacts/
shell: bash
# - name: Download macOS arm64 artifact
# uses: actions/download-artifact@v4
# with:
# name: ${{ env.APP_NAME }}.darwin-arm64.node
# path: artifacts
# - name: List packages
# run: ls artifacts/
# shell: bash
- name: Combine binaries
run: yarn universal
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.APP_NAME }}.darwin-universal.node
name: bindings-universal-apple-darwin
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
publish:
Expand Down

0 comments on commit a947d6a

Please sign in to comment.