Update and rename action.yml to action.yaml

This commit is contained in:
Rin Arakaki 2023-02-12 19:32:49 +09:00 committed by GitHub
parent 39461a8bfa
commit a0ec2c717e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
action.yaml Normal file
View file

@ -0,0 +1,22 @@
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'