setup-rust/action.yml
2023-04-16 14:40:40 -07:00

23 lines
723 B
YAML

name: 'Setup Rust and Cargo'
author: 'Miles Johnson'
description:
'Sets up Rust by installing a toolchain/components/targets with rustup, and also Cargo by
installing bins and caching core.'
inputs:
bins:
description: 'Comma-separated list of global binaries to install into Cargo.'
channel:
description: 'Toolchain specification/channel to install.'
components:
description: 'Comma-separated list of additional components to install.'
targets:
description: 'Comma-separated list of additional targets to install.'
profile:
description: 'Profile to install. Defaults to "minimal".'
outputs: {}
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'settings'
color: 'orange'