You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Install cargo-prebuilt
v3.4.2
Installs cargo-prebuilt and the crates you pass to it.
See:
Action Versions | Prebuilt Versions | Note |
---|---|---|
3.*.* | 0.6.* | |
< 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,rtx-cli@1.34.1
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
-
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: ''
-
target: 'Target for the version of the tools to install' default: prebuilt-target (current)
-
index-key: 'Index to use from the config file. Requires ci to be set to false if using' default: ''
-
index: 'Index to use to install tools from' default: prebuilt default ('gh-pub:github.com/cargo-prebuilt/index')
-
auth: 'Auth token for index if needed' default: ''
-
config: 'Path to config file to use. Requires ci to be set to false if using' default: ''
-
path: 'Path where prebuilt crates are installed' default: let cargo-prebuilt decide ($HOME/.cargo/bin)
-
report-path: 'Path where reports are installed' default: disable ci flag to use this
-
ci: 'Use the --ci flag' default: true
-
sig: 'A public verifying key encoded as base64' default: ''
-
no-verify: 'Do not verify downloaded files' default: false
-
safe: 'Do not overwrite existing files' default: false
-
out: 'Print out events' default: true
-
color: 'Enable or disable color' default: let cargo-prebuilt decide
-
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'