Installs cargo-prebuilt and the crates you pass to it.
See:
Action Versions | Prebuilt Versions | Note |
---|---|---|
4.*.* | 0.7.* | |
3.*.* | 0.6.* | Deprecated |
< 3 | < 6 | Deprecated and untracked |
name: Install
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install cargo-prebuilt
uses: cargo-prebuilt/cargo-prebuilt-action@v3
with:
pkgs: just,[email protected]
or
name: Install
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install cargo-prebuilt
uses: cargo-prebuilt/cargo-prebuilt-action@v3
with:
pkgs: cargo-deny
- run: cargo prebuilt just
name: Install for aarch64-apple-darwin
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install cargo-prebuilt
uses: cargo-prebuilt/cargo-prebuilt-action@v3
with:
prebuilt-version: 0.6.0
prebuilt-target: aarch64-apple-darwin
See action.yml for all options.
-
prebuilt-version: 'Version of cargo-prebuilt to use' default: latest
-
prebuilt-target: 'Target for the version of cargo-prebuilt to install' default: current
-
prebuilt-verify: 'Verify downloaded cargo prebuilt' options: - 'none: Do not verify' - 'sha256: Verify using sha256 hash (Only for making sure the download is not corrupted)' - 'minisign: Verify using minisign (Using rsign2)' default: 'sha256'
-
pkgs: 'A CSV list of prebuilt crates needed with optional version numbers (see cargo-prebuilt cli)' default: ''
See action.yml
-
prebuilt-version: 'Cargo prebuilt version that was installed'
-
prebuilt-target: 'Cargo prebuilt target that was installed'
-
out: 'Stdout of cargo-prebuilt if it downloaded any tools'