rs-cargo/action.yml
Rich Brown 0e77f895e3 Restore previous (no "version:" ... is required;
need to tag the release, though, to get a version number
2024-06-07 21:17:30 -04:00

24 lines
532 B
YAML

name: 'rust-cargo'
description: 'Run cargo command'
author: 'actions-rs team'
branding:
icon: play-circle
color: black
inputs:
command:
description: Cargo command to run (ex. `check` or `build`)
required: true
toolchain:
description: Toolchain to use (without the `+` sign, ex. `nightly`)
required: false
args:
description: Arguments for the cargo command
required: false
use-cross:
description: Use cross instead of cargo
default: false
runs:
using: 'node20'
main: 'dist/index.js'