chore: update input section in readme

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-04-13 17:31:22 +02:00
parent 95e6ab9a10
commit d07b9893c0
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 15 additions and 8 deletions

View file

@ -79,13 +79,20 @@ steps:
Following inputs can be used as `step.with` keys
| Name | Type | Default | Description |
|------------------|---------|--------------|------------------------------------------------------------------|
| `version` | String | `latest` | Dagger version |
| `cmds` | String | | Commands to run on Dagger |
| `workdir` | String | `.` | Working directory (below repository root) |
| `install-only` | Bool | `false` | Just install Dagger |
| `cleanup` | Bool | `true` | Cleanup Dagger home folder at the end of a job |
> `List` type is a newline-delimited string
> ```yaml
> cmds: |
> project update
> do test
> ```
| Name | Type | Default | Description |
|------------------|--------|--------------|------------------------------------------------|
| `version` | String | `latest` | Dagger version |
| `cmds` | List | | List of Dagger commands |
| `workdir` | String | `.` | Working directory (below repository root) |
| `install-only` | Bool | `false` | Just install Dagger |
| `cleanup` | Bool | `true` | Cleanup Dagger home folder at the end of a job |
## Development

View file

@ -15,7 +15,7 @@ inputs:
required: false
deprecationMessage: 'Use cmds input instead'
cmds:
description: 'Commands to run on Dagger'
description: 'List of Dagger commands'
required: false
workdir:
description: 'Working directory (below repository root)'