diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f3afd9e..818e307 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -27,7 +27,7 @@ jobs: target: x86_64-apple-darwin architecture: x64 build: | - npm run build + npm run build -- --target x86_64-apple-darwin strip -x *.node - host: windows-latest build: npm run build @@ -132,7 +132,7 @@ jobs: if: ${{ !matrix.settings.docker }} shell: bash - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bindings-${{ matrix.settings.target }} path: ${{ env.APP_NAME }}.*.node @@ -170,7 +170,7 @@ jobs: - name: Install dependencies run: npm clean-install --ignore-scripts - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-${{ matrix.settings.target }} path: . @@ -209,7 +209,7 @@ jobs: - name: Install dependencies run: npm clean-install --ignore-scripts - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: bindings-x86_64-unknown-linux-gnu path: . @@ -248,7 +248,7 @@ jobs: - name: Install dependencies run: npm clean-install --ignore-scripts - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-x86_64-unknown-linux-musl path: . @@ -275,7 +275,7 @@ jobs: - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset - uses: actions/checkout@v3 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-aarch64-unknown-linux-gnu path: . @@ -313,7 +313,7 @@ jobs: - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset - uses: actions/checkout@v3 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-aarch64-unknown-linux-musl path: . @@ -363,7 +363,7 @@ jobs: - name: Install dependencies run: npm clean-install --ignore-scripts - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Move artifacts