mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 04:28:43 +00:00
build(deps): bump actions/{up, down}load-artifact from 3 to 4 (#1591)
Revert "Revert "build(deps): bump actions/{up, down}load-artifact from 3 to 4…"
This reverts commit f5da25cc56
.
This commit is contained in:
parent
12b2824a3b
commit
dba9dd5ff0
3 changed files with 19 additions and 19 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -172,7 +172,7 @@ jobs:
|
||||||
# Set working directory here, otherwise `cargo-zigbuild` would download
|
# Set working directory here, otherwise `cargo-zigbuild` would download
|
||||||
# and build quite a few unused dependencies.
|
# and build quite a few unused dependencies.
|
||||||
working-directory: crates/detect-targets
|
working-directory: crates/detect-targets
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: detect-targets
|
name: detect-targets
|
||||||
path: target/${{ env.CARGO_BUILD_TARGET }}/debug/detect-targets
|
path: target/${{ env.CARGO_BUILD_TARGET }}/debug/detect-targets
|
||||||
|
@ -183,7 +183,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: detect-targets
|
name: detect-targets
|
||||||
- run: chmod +x detect-targets
|
- run: chmod +x detect-targets
|
||||||
|
@ -205,7 +205,7 @@ jobs:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: detect-targets
|
name: detect-targets
|
||||||
- run: chmod +x detect-targets
|
- run: chmod +x detect-targets
|
||||||
|
@ -228,7 +228,7 @@ jobs:
|
||||||
- fedora
|
- fedora
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: detect-targets
|
name: detect-targets
|
||||||
- run: chmod +x detect-targets
|
- run: chmod +x detect-targets
|
||||||
|
@ -244,7 +244,7 @@ jobs:
|
||||||
needs: detect-targets-build
|
needs: detect-targets-build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: detect-targets
|
name: detect-targets
|
||||||
- run: chmod +x detect-targets
|
- run: chmod +x detect-targets
|
||||||
|
|
8
.github/workflows/release-cli.yml
vendored
8
.github/workflows/release-cli.yml
vendored
|
@ -46,11 +46,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
AGE_KEY_PUBLIC: ${{ vars.AGE_KEY_PUBLIC }}
|
AGE_KEY_PUBLIC: ${{ vars.AGE_KEY_PUBLIC }}
|
||||||
run: .github/scripts/ephemeral-gen.sh
|
run: .github/scripts/ephemeral-gen.sh
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: minisign.pub
|
name: minisign.pub
|
||||||
path: minisign.pub
|
path: minisign.pub
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: minisign.key.age
|
name: minisign.key.age
|
||||||
path: minisign.key.age
|
path: minisign.key.age
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: minisign.pub
|
name: minisign.pub
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ jobs:
|
||||||
run: cargo publish --dry-run -p "$crate" --allow-dirty --no-default-features
|
run: cargo publish --dry-run -p "$crate" --allow-dirty --no-default-features
|
||||||
- if: fromJSON(inputs.info).is-release != 'true' && fromJSON(inputs.info).crate != ''
|
- if: fromJSON(inputs.info).is-release != 'true' && fromJSON(inputs.info).crate != ''
|
||||||
name: Upload crate package as artifact
|
name: Upload crate package as artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: crate-package
|
name: crate-package
|
||||||
path: target/package/*.crate
|
path: target/package/*.crate
|
||||||
|
|
20
.github/workflows/release-packages.yml
vendored
20
.github/workflows/release-packages.yml
vendored
|
@ -70,7 +70,7 @@ jobs:
|
||||||
|
|
||||||
- run: just toolchain rust-src
|
- run: just toolchain rust-src
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: minisign.pub
|
name: minisign.pub
|
||||||
- run: just package
|
- run: just package
|
||||||
|
@ -85,7 +85,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: minisign.key.age
|
name: minisign.key.age
|
||||||
- name: Sign package
|
- name: Sign package
|
||||||
|
@ -107,14 +107,14 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
- if: "fromJSON(inputs.publish).is-release != 'true' || runner.os == 'macOS'"
|
- if: "fromJSON(inputs.publish).is-release != 'true' || runner.os == 'macOS'"
|
||||||
name: Upload artifact
|
name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.t }}
|
name: ${{ matrix.t }}
|
||||||
path: packages/cargo-binstall-*
|
path: packages/cargo-binstall-*
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
- name: Upload timings
|
- name: Upload timings
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.t }}-cargo-timings
|
name: ${{ matrix.t }}-cargo-timings
|
||||||
path: target/cargo-timings
|
path: target/cargo-timings
|
||||||
|
@ -138,27 +138,27 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: x86_64h-apple-darwin
|
name: x86_64h-apple-darwin
|
||||||
path: packages/
|
path: packages/
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: x86_64-apple-darwin
|
name: x86_64-apple-darwin
|
||||||
path: packages/
|
path: packages/
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: aarch64-apple-darwin
|
name: aarch64-apple-darwin
|
||||||
path: packages/
|
path: packages/
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: minisign.pub
|
name: minisign.pub
|
||||||
- run: ls -shalr packages/
|
- run: ls -shalr packages/
|
||||||
- run: just repackage-lipo
|
- run: just repackage-lipo
|
||||||
- run: ls -shal packages/
|
- run: ls -shal packages/
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: minisign.key.age
|
name: minisign.key.age
|
||||||
- env:
|
- env:
|
||||||
|
@ -180,7 +180,7 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
- if: fromJSON(inputs.publish).is-release != 'true'
|
- if: fromJSON(inputs.publish).is-release != 'true'
|
||||||
name: Upload artifact
|
name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: universal-apple-darwin
|
name: universal-apple-darwin
|
||||||
path: packages/cargo-binstall-universal-*
|
path: packages/cargo-binstall-universal-*
|
||||||
|
|
Loading…
Add table
Reference in a new issue