File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff 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
1110Accepts 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+ ` ` `
Original file line number Diff line number Diff 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
1815runs :
1916 using : ' composite'
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
You can’t perform that action at this time.
0 commit comments