File tree Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
13
13
java-version : ' 21'
14
14
distribution : ' temurin'
15
15
architecture : x64
16
- - name : Setup Gradle
17
- uses : gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
18
- - name : Build code
19
- run : ./gradlew check
16
+ - name : Build the application
17
+ uses : gradle/actions/setup-gradle@v3
18
+ with :
19
+ arguments : ' check'
20
20
- name : Upload build results
21
21
uses : actions/upload-artifact@v4
22
22
with :
Original file line number Diff line number Diff line change 47
47
./gradlew -Pversion=1.0.0-SNAPSHOT publish -x check
48
48
env :
49
49
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
+ test-report :
51
+ runs-on : ubuntu-latest
52
+ needs : build
53
+ steps :
54
+ - uses : actions/checkout@v4
55
+ - name : test-report
56
+ uses : dorny/test-reporter@v1
57
+ if : success() || failure()
58
+ with :
59
+ artifact : test-artifact
60
+ name : Junit Test
61
+ path : ./**/TEST-*.xml
62
+ reporter : java-junit
63
+
50
64
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build :
10
10
uses : ./.github/workflows/component-build.yml
11
+ test-report :
12
+ runs-on : ubuntu-latest
13
+ needs : build
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - name : test-report
17
+ uses : dorny/test-reporter@v1
18
+ if : success() || failure()
19
+ with :
20
+ artifact : test-artifact
21
+ name : Junit Test
22
+ path : ./**/TEST-*.xml
23
+ reporter : java-junit
11
24
code-quality :
12
25
runs-on : ubuntu-latest
13
26
needs : build
You can’t perform that action at this time.
0 commit comments