fix(ci): pin artifact actions

This commit is contained in:
Lucas Nogueira 2024-09-04 19:48:48 -03:00
parent a655d9c6ce
commit e568956e48
No known key found for this signature in database
GPG Key ID: 7C32FCA95C8C95D7
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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 }}

View File

@ -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'