Unverified Commit d1ab42cd authored by Daz DeBoer's avatar Daz DeBoer
Browse files

Document support for multi-line arguments

Fixes #88
parent 422726ce
Loading
Loading
Loading
Loading
+2
Changes for .github/workflows/integTest-action-inputs.yml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -21,5 +21,7 @@ jobs:
        arguments: |
            --configuration-cache
            --build-cache
            -DsystemProperty=FOO
            -PgradleProperty=BAR
            test
            jar
 No newline at end of file
+6 −2
Changes for README.md: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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.
+1 −1
Changes for action.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ inputs:
    description: Path to the root directory of the build
    required: false
  arguments:
    description: Gradle command line arguments, see gradle --help
    description: Gradle command line arguments (supports multi-line input)
    required: false
  cache-disabled:
    description: When 'true', all caching is disabled. No entries will be written to or read from the cache.