diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 04660d5..e28383d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -85,7 +85,7 @@ jobs: name: stable - ${{ matrix.settings.target }} - node@18 runs-on: ${{ matrix.settings.host }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v3 if: ${{ !matrix.settings.docker }} @@ -131,7 +131,7 @@ jobs: if: ${{ !matrix.settings.docker }} shell: bash - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.APP_NAME }}.${{ matrix.settings.name }}.node path: ${{ env.APP_NAME }}.*.node @@ -155,7 +155,7 @@ jobs: - '18' runs-on: ${{ matrix.settings.host }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v3 with: @@ -165,7 +165,7 @@ jobs: - name: Install dependencies run: yarn install - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.APP_NAME }}.${{ matrix.settings.name }}.node path: . @@ -186,7 +186,7 @@ jobs: - '18' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v3 with: @@ -196,7 +196,7 @@ jobs: - name: Install dependencies run: yarn install - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-x86_64-unknown-linux-gnu path: . @@ -217,7 +217,7 @@ jobs: - '18' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v3 with: @@ -229,7 +229,7 @@ jobs: yarn config set supportedArchitectures.libc "musl" yarn install - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-x86_64-unknown-linux-musl path: . @@ -250,9 +250,9 @@ jobs: - '18' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-aarch64-unknown-linux-gnu path: . @@ -284,9 +284,9 @@ jobs: - build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bindings-aarch64-unknown-linux-musl path: . @@ -317,7 +317,7 @@ jobs: - build runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v3 with: @@ -327,25 +327,25 @@ jobs: - name: Install dependencies run: yarn install - name: Download macOS x64 artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.APP_NAME }}.darwin-x64.node path: artifacts - name: List packages run: ls artifacts/ shell: bash - - name: Download macOS arm64 artifact - uses: actions/download-artifact@v3 - with: - name: ${{ env.APP_NAME }}.darwin-arm64.node - path: artifacts - - name: List packages - run: ls artifacts/ - shell: bash + # - name: Download macOS arm64 artifact + # uses: actions/download-artifact@v4 + # with: + # name: ${{ env.APP_NAME }}.darwin-arm64.node + # path: artifacts + # - name: List packages + # run: ls artifacts/ + # shell: bash - name: Combine binaries run: yarn universal - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.APP_NAME }}.darwin-universal.node path: ${{ env.APP_NAME }}.*.node @@ -361,7 +361,7 @@ jobs: - test-linux-aarch64-gnu-binding - universal-macOS steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v3 with: @@ -371,7 +371,7 @@ jobs: - name: Install dependencies run: yarn install - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Move artifacts