mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 17:12:51 +00:00
parent
422726cec5
commit
d1ab42cddf
3 changed files with 9 additions and 3 deletions
|
@ -21,5 +21,7 @@ jobs:
|
||||||
arguments: |
|
arguments: |
|
||||||
--configuration-cache
|
--configuration-cache
|
||||||
--build-cache
|
--build-cache
|
||||||
|
-DsystemProperty=FOO
|
||||||
|
-PgradleProperty=BAR
|
||||||
test
|
test
|
||||||
jar
|
jar
|
|
@ -47,6 +47,7 @@ Each invocation will start its run with the filesystem state remaining from the
|
||||||
### Command-line arguments
|
### Command-line arguments
|
||||||
|
|
||||||
The `arguments` input can used to pass arbitrary arguments to the `gradle` command line.
|
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:
|
Here are some valid examples:
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -54,8 +55,11 @@ arguments: build
|
||||||
arguments: check --scan
|
arguments: check --scan
|
||||||
arguments: some arbitrary tasks
|
arguments: some arbitrary tasks
|
||||||
arguments: build -PgradleProperty=foo
|
arguments: build -PgradleProperty=foo
|
||||||
arguments: build -DsystemProperty=bar
|
arguments: |
|
||||||
....
|
build
|
||||||
|
--scan
|
||||||
|
-PgradleProperty=foo
|
||||||
|
-DsystemProperty=bar
|
||||||
```
|
```
|
||||||
|
|
||||||
See `gradle --help` for more information.
|
See `gradle --help` for more information.
|
||||||
|
|
|
@ -14,7 +14,7 @@ inputs:
|
||||||
description: Path to the root directory of the build
|
description: Path to the root directory of the build
|
||||||
required: false
|
required: false
|
||||||
arguments:
|
arguments:
|
||||||
description: Gradle command line arguments, see gradle --help
|
description: Gradle command line arguments (supports multi-line input)
|
||||||
required: false
|
required: false
|
||||||
cache-disabled:
|
cache-disabled:
|
||||||
description: When 'true', all caching is disabled. No entries will be written to or read from the cache.
|
description: When 'true', all caching is disabled. No entries will be written to or read from the cache.
|
||||||
|
|
Loading…
Reference in a new issue