diff --git a/.github/workflows/napi2.yml b/.github/workflows/napi2.yml index dd9531b..8742c10 100644 --- a/.github/workflows/napi2.yml +++ b/.github/workflows/napi2.yml @@ -27,13 +27,16 @@ jobs: build: | yarn build strip -x *.node + - host: windows-latest build: yarn build target: x86_64-pc-windows-msvc + - host: windows-latest build: | yarn build --target i686-pc-windows-msvc target: i686-pc-windows-msvc + - host: ubuntu-latest target: x86_64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian @@ -42,10 +45,12 @@ jobs: cd ./languages/node && yarn build --target x86_64-unknown-linux-gnu && strip *.node + - host: ubuntu-latest target: x86_64-unknown-linux-musl docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine build: set -e && cd ./languages/node && yarn build && strip *.node + - host: macos-latest target: aarch64-apple-darwin build: | @@ -86,9 +91,10 @@ jobs: rustup target add aarch64-unknown-linux-musl && cd ./languages/node && yarn build --target aarch64-unknown-linux-musl - - host: windows-latest - target: aarch64-pc-windows-msvc - build: yarn build --target aarch64-pc-windows-msvc + + #- host: windows-latest + # target: aarch64-pc-windows-msvc + # build: yarn build --target aarch64-pc-windows-msvc name: stable - ${{ matrix.settings.target }} - node@18 runs-on: ${{ matrix.settings.host }} steps: @@ -148,7 +154,7 @@ jobs: if: ${{ !matrix.settings.docker }} shell: bash - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: bindings-${{ matrix.settings.target }} path: ${{ github.workspace }}/languages/node/infisical.*.node @@ -168,7 +174,7 @@ jobs: - name: Install dependencies run: yarn install - name: Download all artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: path: languages/node/artifacts