Skip to content

Commit dc1f34d

Browse files
author
Steve Riesenberg
committed
Remove command execution and inputs
1 parent 45b9599 commit dc1f34d

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ A composite action that combines the following steps:
66
* Set up a `user.name` system property with `spring-builds+github`
77
* Validate the Gradle wrapper using `gradle/wrapper-validation-action@v1`
88
* Set up Gradle using `gradle/gradle-build-action@v2` with `GRADLE_USER_HOME=~/.gradle`
9-
* Perform a specified Gradle command (e.g. `./gradlew <task> <args>`)
109

1110
Accepts the following inputs:
1211

1312
* `java-version` (Optional, defaults to `'17'`)
1413
* `distribution` (Optional, defaults to `'temurin'`)
15-
* `task` (Required)
16-
* `args` (Optional, defaults to `''`)
1714

1815
## Installation
1916

@@ -23,6 +20,13 @@ Accepts the following inputs:
2320
with:
2421
java-version: '17'
2522
distribution: 'temurin'
26-
task: 'clean build'
27-
args: '--continue'
2823
```
24+
25+
## Example Usage
26+
27+
```yaml
28+
- uses: actions/checkout@v2
29+
- uses: sjohnr/spring-gradle-build-action@v1
30+
- name: Run tests
31+
run: ./gradlew test
32+
```

action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ inputs:
1111
description: 'Distribution of the JDK to use to run the Gradle command. Used in the actions/setup-java step.'
1212
required: false
1313
default: 'temurin'
14-
arguments:
15-
description: 'Gradle command line arguments.'
16-
required: false
1714

1815
runs:
1916
using: 'composite'
@@ -32,7 +29,5 @@ runs:
3229
uses: gradle/wrapper-validation-action@v1
3330
- name: Set up Gradle
3431
uses: gradle/gradle-build-action@v2
35-
with:
36-
arguments: ${{ inputs.arguments }}
3732
env:
3833
GRADLE_USER_HOME: ~/.gradle

0 commit comments

Comments
 (0)