From 8fc0ceaf75b1a91fce8786339c94bb3163ec80b2 Mon Sep 17 00:00:00 2001 From: Amitosh Swain Mahapatra Date: Thu, 27 Feb 2025 00:12:22 +0530 Subject: [PATCH] Exclude Windows x86 as it is no longer supported --- .github/workflows/build-pack-publish.yml | 27 ++---------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build-pack-publish.yml b/.github/workflows/build-pack-publish.yml index ca08ffd..9c1a940 100644 --- a/.github/workflows/build-pack-publish.yml +++ b/.github/workflows/build-pack-publish.yml @@ -9,7 +9,6 @@ on: types: [ prereleased, released ] jobs: - build-linux: runs-on: ubuntu-latest steps: @@ -29,23 +28,6 @@ jobs: path: ./prebuilds/ build-windows: - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 18 - registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npx prebuildify --napi --strip --arch=ia32 --target=node@18.0.0 - - run: npx prebuildify --napi --strip --arch=x64 --target=node@18.0.0 - - run: dir prebuilds - - uses: actions/upload-artifact@v4 - with: - name: prebuild-windows - path: ./prebuilds/ - - build-windows-arm: runs-on: windows-latest steps: - uses: actions/checkout@v4 @@ -54,11 +36,12 @@ jobs: node-version: 20 registry-url: 'https://registry.npmjs.org' - run: npm ci + - run: npx prebuildify --napi --strip --arch=x64 --target=node@18.0.0 - run: npx prebuildify --napi --strip --arch=arm64 --target=node@20.0.0 - run: dir prebuilds - uses: actions/upload-artifact@v4 with: - name: prebuild-windows-arm + name: prebuild-windows path: ./prebuilds/ build-macos: @@ -82,16 +65,10 @@ jobs: needs: - build-linux - build-windows - - build-windows-arm - build-macos runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: 'https://registry.npmjs.org' - - run: npm ci - uses: actions/download-artifact@v4 with: path: /tmp/prebuilds/