Skip to content

Commit d04997b

Browse files
committed
hotfix(ci): Changes to CI pipeline fpr GHA workflow
1 parent b423935 commit d04997b

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# separate terms of service, privacy policy, and support
77
# documentation.
88

9-
name: Build and Release
9+
name: CI
1010

1111
on:
1212
push:
13-
branches: ['main']
13+
branches: [ 'main' ]
1414
pull_request:
1515
branches: [ 'main' ]
1616
workflow_dispatch:
@@ -45,9 +45,9 @@ jobs:
4545
validate-wrappers: false
4646
add-job-summary-as-pr-comment: 'always'
4747
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
5151

5252
- name: Build with Gradle
5353
run: gradle build
@@ -56,8 +56,9 @@ jobs:
5656
uses: actions/upload-artifact@v4
5757
if: always()
5858
with:
59-
name: build-reports
59+
name: gradle-build-reports
6060
path: '**/build/reports/'
61+
#compression-level: 9
6162

6263
maven-build:
6364
name: Build with Maven
@@ -78,4 +79,12 @@ jobs:
7879
run: mvn -B clean install
7980

8081
- 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

0 commit comments

Comments
 (0)