File tree Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change 77
88name : Java CI with Gradle
99
10- on : [ push ]
10+ on :
11+ push :
12+ branches :
13+ - main
14+ pull_request :
1115
1216permissions :
1317 contents : read
@@ -16,21 +20,21 @@ jobs:
1620 build :
1721 runs-on : ubuntu-latest
1822 steps :
19- - uses : actions/checkout@v3
20- - name : Set up JDK 17
21- uses : actions/setup-java@v3
22- with :
23- java-version : ' 17'
24- distribution : ' temurin'
25-
26- - name : Setup Gradle
27- uses : gradle/gradle-build-action@v2
28-
29- - name : Make gradlew executable
30- run : chmod +x ./gradlew
31-
32- - name : Execute Gradle build
33- run : ./gradlew build
34-
35- - name : Build the Jar
36- run : ./gradlew clean shadowJar
23+ - uses : actions/checkout@v3
24+ - name : Set up JDK 17
25+ uses : actions/setup-java@v3
26+ with :
27+ java-version : ' 17'
28+ distribution : ' temurin'
29+
30+ - name : Setup Gradle
31+ uses : gradle/gradle-build-action@v2.8.0
32+
33+ - name : Make gradlew executable
34+ run : chmod +x ./gradlew
35+
36+ - name : Execute Gradle build
37+ run : ./gradlew build
38+
39+ - name : Build the Jar
40+ run : ./gradlew shadowJar
You can’t perform that action at this time.
0 commit comments