mirror of
https://github.com/actions-rs/cargo.git
synced 2024-11-14 13:36:33 +02:00
24 lines
526 B
YAML
24 lines
526 B
YAML
|
name: '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: 'node12'
|
||
|
main: 'dist/index.js'
|