File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 6
6
# separate terms of service, privacy policy, and support
7
7
# documentation.
8
8
9
- name : Build and Release
9
+ name : CI
10
10
11
11
on :
12
12
push :
13
- branches : ['main']
13
+ branches : [ 'main' ]
14
14
pull_request :
15
15
branches : [ 'main' ]
16
16
workflow_dispatch :
45
45
validate-wrappers : false
46
46
add-job-summary-as-pr-comment : ' always'
47
47
add-job-summary : ' always'
48
-
49
- # - name: Validate Gradle Wrapper
50
- # uses: gradle/actions/wrapper-validation@v4
48
+
49
+ - name : Validate Gradle Wrapper
50
+ uses : gradle/actions/wrapper-validation@v4
51
51
52
52
- name : Build with Gradle
53
53
run : gradle build
56
56
uses : actions/upload-artifact@v4
57
57
if : always()
58
58
with :
59
- name : build-reports
59
+ name : gradle- build-reports
60
60
path : ' **/build/reports/'
61
+ # compression-level: 9
61
62
62
63
maven-build :
63
64
name : Build with Maven
78
79
run : mvn -B clean install
79
80
80
81
- name : Build, Package and Test
81
- run : mvn -B jacoco:prepare-agent clean test package surefire-report:report jacoco:report
82
+ run : mvn -B jacoco:prepare-agent clean test package surefire-report:report jacoco:report
83
+
84
+ - name : Upload build reports
85
+ uses : actions/upload-artifact@v4
86
+ if : always()
87
+ with :
88
+ name : maven-build-reports
89
+ path : ' **/target/reports/'
90
+ # compression-level: 9
You can’t perform that action at this time.
0 commit comments