diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a76d54..14074c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,12 @@ -name: CI +name: Release env: DEBUG: napi:* - APP_NAME: index + APP_NAME: pack-binding MACOSX_DEPLOYMENT_TARGET: '10.13' permissions: contents: write id-token: write -'on': +on: push: branches: - master @@ -18,7 +18,6 @@ permissions: - '**/*.gitignore' - .editorconfig - docs/** - pull_request: null jobs: build: strategy: @@ -38,8 +37,9 @@ jobs: target: x86_64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian build: |- - cd crates/node_binding && set -e && + cd crates/node_binding && + unset CC_x86_64_unknown_linux_gnu && unset CC && pnpm build --target x86_64-unknown-linux-gnu && strip *.node - host: ubuntu-latest