Document support for multi-line arguments

Fixes #88
This commit is contained in:
Daz DeBoer 2021-10-15 12:24:41 -06:00
parent 422726cec5
commit d1ab42cddf
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
3 changed files with 9 additions and 3 deletions

View file

@ -47,6 +47,7 @@ Each invocation will start its run with the filesystem state remaining from the
### Command-line arguments
The `arguments` input can used to pass arbitrary arguments to the `gradle` command line.
Arguments can be supplied in a single line, or as a multi-line input.
Here are some valid examples:
```yaml
@ -54,8 +55,11 @@ arguments: build
arguments: check --scan
arguments: some arbitrary tasks
arguments: build -PgradleProperty=foo
arguments: build -DsystemProperty=bar
....
arguments: |
build
--scan
-PgradleProperty=foo
-DsystemProperty=bar
```
See `gradle --help` for more information.