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

View file

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