File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["main"]
8+ schedule :
9+ - cron : ' 0 0 * * *'
10+
11+ jobs :
12+
13+ build-mvnw :
14+ name : Build Maven Wrapper
15+
16+ runs-on : ubuntu-latest
17+ strategy :
18+ matrix :
19+ jdk : [8, 11, 17, 21]
20+ steps :
21+ - uses : actions/checkout@v3
22+ - name : Set up JDK ${{ matrix.jdk }}
23+ uses : actions/setup-java@v3
24+ with :
25+ java-version : ${{ matrix.jdk }}
26+ distribution : " semeru"
27+ cache : maven
28+ - name : Build with Maven
29+ run : ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} verify
30+
31+
32+ build-gradlew :
33+ name : Build Gradle Wrapper
34+
35+ runs-on : ubuntu-latest
36+ strategy :
37+ matrix :
38+ jdk : [8, 11, 17, 21]
39+ steps :
40+ - uses : actions/checkout@v3
41+ - name : Set up JDK ${{ matrix.jdk }}
42+ uses : actions/setup-java@v4
43+ with :
44+ java-version : ${{ matrix.jdk }}
45+ distribution : ' semeru'
46+ - uses : gradle/actions/setup-gradle@v3
47+ with :
48+ gradle-version : 8.6
49+ - name : Build with Gradle
50+ run : ./gradlew clean build -Pjava_version=${{ matrix.jdk }}
You can’t perform that action at this time.
0 commit comments