Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
26 lines
723 B
YAML
26 lines
723 B
YAML
name: Cargo B(inary)Install
|
|
|
|
description: Install binaries with cargo-binstall
|
|
|
|
inputs:
|
|
packages:
|
|
description: List of arguments to pass to `cargo binstall`
|
|
required: true
|
|
|
|
runs:
|
|
using: composite
|
|
|
|
steps:
|
|
- name: Install cargo-binstall
|
|
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
|
|
with:
|
|
tool: cargo-binstall
|
|
|
|
- name: Running cargo-binstall with provided arguments
|
|
shell: bash
|
|
env:
|
|
PACKAGES: ${{ inputs.packages }}
|
|
# `$PACKAGES` is intentionally unquoted so each space-separated
|
|
# entry becomes its own positional argument to `cargo binstall`.
|
|
run: cargo binstall --no-confirm $PACKAGES
|