From 3cd907acf89937d09039cddb51301858674425ae Mon Sep 17 00:00:00 2001 From: YassinEldeeb Date: Mon, 22 Jul 2024 22:09:40 +0100 Subject: [PATCH] fix --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6972961..bf647a37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -202,6 +202,16 @@ jobs: name: bindings-aarch64-apple-darwin path: packages/napi-utils/artifacts + - name: Rename macOS x64 binary + run: + mv packages/napi-utils/artifacts/bindings-x86_64-apple-darwin/index.node + packages/napi-utils/artifacts/index.darwin-x64.node + + - name: Rename macOS arm64 binary + run: + mv packages/napi-utils/artifacts/bindings-aarch64-apple-darwin/index.node + packages/napi-utils/artifacts/index.darwin-arm64.node + - name: Combine binaries working-directory: packages/napi-utils run: npx @napi-rs/cli@2.18.4 universal