From 68fd13812eade790c1f7aeb545e2bf5779d5c1b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=9D?= Date: Wed, 24 Jan 2024 17:45:33 +0800 Subject: [PATCH] chore(ci): to avoid conflicts, upload Wasm files on Node.js 20 only --- .github/workflows/CI.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 3d222678..e95eb4b3 100755 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -79,7 +79,7 @@ jobs: target: armv7-unknown-linux-gnueabihf setup: | sudo apt-get update - sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y + sudo apt-get install gcc-arm-linux-gnueabihf -y build: | yarn build --target=armv7-unknown-linux-gnueabihf arm-linux-gnueabihf-strip *.node @@ -217,6 +217,7 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 + if: ${{ matrix.node == '20' }} with: name: wasm32 path: wasm/dist/*.wasm