File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build PR
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+ jobs :
7+ maven-package :
8+ if : " !contains(github.event.head_commit.message, 'ci skip')"
9+ runs-on : ubuntu-24.04
10+ steps :
11+ - uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 0
14+ - uses : actions/setup-java@v4
15+ with :
16+ java-version : 17.0.13
17+ distribution : liberica
18+ - name : Cache Maven dependencies
19+ uses : actions/cache@v4
20+ with :
21+ path : ~/.m2/repository
22+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23+ restore-keys : |
24+ ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25+ ${{ runner.os }}-maven-
26+ ${{ runner.os }}-
27+ - name : Run maven build
28+ run : mvn package -PprettierCheck -Dprettier.nodePath=node -Dprettier.npmPath=npm
29+ - name : codecov
30+ uses : codecov/codecov-action@v5
31+ with :
32+ files : ./target/site/jacoco/jacoco.xml
You can’t perform that action at this time.
0 commit comments