File tree 2 files changed +23
-15
lines changed
2 files changed +23
-15
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,19 @@ jobs:
19
19
20
20
steps :
21
21
- name : Checkout the repo
22
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v3.0.2
23
+ with :
24
+ fetch-depth : 0
25
+
26
+ - name : Set up Java
27
+ uses : actions/setup-java@v3.3.0
28
+ with :
29
+ distribution : ' zulu'
23
30
24
- - name : Run Check
25
- run : ./gradlew check
31
+ - name : Build
32
+ uses : gradle/gradle-build-action@v2.1.6
33
+ with :
34
+ arguments : build --scan --full-stacktrace
26
35
27
36
- name : Bundle the build report
28
37
if : failure()
Original file line number Diff line number Diff line change @@ -17,20 +17,19 @@ jobs:
17
17
18
18
steps :
19
19
- name : Checkout the repo
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v3.0.2
21
+ with :
22
+ fetch-depth : 0
23
+
24
+ - name : Set up Java
25
+ uses : actions/setup-java@v3.3.0
26
+ with :
27
+ distribution : ' zulu'
21
28
22
- - name : Restore Gradle cache
23
- id : cache
24
- uses : actions/cache@v3.0.4
29
+ - name : Build
30
+ uses : gradle/gradle-build-action@v2.1.6
25
31
with :
26
- path : |
27
- ~/.gradle/caches
28
- ~/.gradle/wrapper
29
- key : ${{ runner.os }}-check-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
30
- restore-keys : ${{ runner.os }}-check-
31
-
32
- - name : Run Check
33
- run : ./gradlew check
32
+ arguments : build --scan --full-stacktrace
34
33
35
34
- name : Bundle the build report
36
35
if : failure()
You can’t perform that action at this time.
0 commit comments