From 332b5f70238fee74f18788f15e562d88d23a0e1d Mon Sep 17 00:00:00 2001 From: ClarkXia Date: Thu, 30 Nov 2023 20:12:18 +0800 Subject: [PATCH] fix: ci --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0a207e..ce7a476 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,18 +119,20 @@ jobs: - name: Download macOS x64 artifact uses: actions/download-artifact@v3 with: + name: ${{ env.APP_NAME }}.darwin-x64.node path: crates/node_binding/artifacts - name: Download macOS arm64 artifact uses: actions/download-artifact@v3 with: + name: ${{ env.APP_NAME }}.darwin-arm64.node path: crates/node_binding/artifacts - name: Combine binaries run: cd crates/node_binding && pnpm universal - name: Upload artifact uses: actions/upload-artifact@v3 with: - # name: bindings-universal-apple-darwin - path: crates/node_binding/${{ env.APP_NAME }}.*.node + name: ${{ env.APP_NAME }}.darwin-universal.node + path: ${{ env.APP_NAME }}.*.node if-no-files-found: error publish: name: Publish