rs-cargo/action.yml
Rich Brown ab8468ce24
Update to use node16
Github Actions will stop working with Node12 soon-ish
2022-11-29 17:44:29 -05:00

23 lines
531 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: 'node16'
main: 'dist/index.js'