2023-08-05 02:33:42 -04:00
|
|
|
name: 'rs-cargo'
|
2019-09-12 23:48:44 +03:00
|
|
|
description: 'Run cargo command'
|
2023-08-05 02:33:42 -04:00
|
|
|
author: 'clechasseur'
|
2019-09-12 23:48:44 +03:00
|
|
|
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
|
2020-04-15 11:52:16 -07:00
|
|
|
working-directory:
|
2023-08-09 22:40:27 -04:00
|
|
|
description: Directory where to perform cargo command
|
2020-04-15 11:52:16 -07:00
|
|
|
required: false
|
2025-01-05 23:22:09 -05:00
|
|
|
tool:
|
|
|
|
|
description: Tool to use instead of cargo ([`cross`, `cargo-hack`])
|
|
|
|
|
required: false
|
|
|
|
|
cache-key:
|
|
|
|
|
description: Cache key used when using a non-cargo tool
|
2025-01-06 22:22:03 -05:00
|
|
|
default: rs-cargo
|
2019-09-12 23:48:44 +03:00
|
|
|
runs:
|
2023-09-04 23:43:28 -04:00
|
|
|
using: 'node20'
|
2019-09-12 23:48:44 +03:00
|
|
|
main: 'dist/index.js'
|
2023-08-05 02:33:42 -04:00
|
|
|
branding:
|
|
|
|
|
icon: package
|
|
|
|
|
color: black
|