diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 624d9c5c0..0d5f12efc 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 @@ -97,7 +97,7 @@ jobs: if: matrix.target != 'wasm32-unknown-unknown' && matrix.target != 'x86_64-unknown-freebsd' - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.target }} path: target/${{ matrix.target }}/release/genact${{ env.EXE }} @@ -136,7 +136,7 @@ jobs: if: startsWith(github.ref_name, 'v') && github.ref_type == 'tag' && matrix.target != 'wasm32-unknown-unknown' - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist @@ -153,19 +153,19 @@ jobs: uses: actions/checkout@v2 - name: Download artifact aarch64-unknown-linux-musl - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: aarch64-unknown-linux-musl path: target/aarch64-unknown-linux-musl/release - name: Download artifact x86_64-unknown-linux-musl - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: x86_64-unknown-linux-musl path: target/x86_64-unknown-linux-musl/release - name: Download artifact armv7-unknown-linux-musleabihf - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: armv7-unknown-linux-musleabihf path: target/armv7-unknown-linux-musleabihf/release diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0519a2d25..6fd19a494 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: dtolnay/rust-toolchain@stable