From e568956e4827281f066f16faae8311178bf330f5 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Wed, 4 Sep 2024 19:48:48 -0300 Subject: [PATCH] fix(ci): pin artifact actions --- .github/workflows/docker.yml | 4 ++-- .github/workflows/publish-cli-js.yml | 4 ++-- .github/workflows/publish-cli-rs.yml | 2 +- .github/workflows/udeps.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a0784b431..4c0eae176 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -31,7 +31,7 @@ jobs: run: cargo install cross --git https://github.com/cross-rs/cross - name: Upload cross - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cross path: '~/.cargo/bin/cross' @@ -41,7 +41,7 @@ jobs: run: cargo build --manifest-path ./crates/tauri-cli/Cargo.toml - name: Upload CLI - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cargo-tauri path: crates/tauri-cli/target/debug/cargo-tauri diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml index 093858704..f744ff01f 100644 --- a/.github/workflows/publish-cli-js.yml +++ b/.github/workflows/publish-cli-js.yml @@ -131,7 +131,7 @@ jobs: shell: bash - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bindings-${{ matrix.settings.target }} path: packages/cli/${{ env.APP_NAME }}.*.node @@ -180,7 +180,7 @@ jobs: # rm -rf node_modules # rm -rf ../../target # - name: Upload artifact - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: bindings-freebsd # path: packages/cli/${{ env.APP_NAME }}.*.node diff --git a/.github/workflows/publish-cli-rs.yml b/.github/workflows/publish-cli-rs.yml index e3c018c29..e8bf7b673 100644 --- a/.github/workflows/publish-cli-rs.yml +++ b/.github/workflows/publish-cli-rs.yml @@ -61,7 +61,7 @@ jobs: run: cargo build --manifest-path ./crates/tauri-cli/Cargo.toml --profile release-size-optimized ${{ matrix.config.args }} - name: Upload CLI - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cargo-tauri-${{ matrix.config.rust_target }}${{ matrix.config.ext }} path: target/release-size-optimized/cargo-tauri${{ matrix.config.ext }} diff --git a/.github/workflows/udeps.yml b/.github/workflows/udeps.yml index ee8dad8f1..155f09eb4 100644 --- a/.github/workflows/udeps.yml +++ b/.github/workflows/udeps.yml @@ -83,7 +83,7 @@ jobs: run: cargo install cargo-udeps --locked --force - name: Upload udeps - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: udeps path: '~/.cargo/bin/cargo-udeps'