File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Latest
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ types :
8+ - opened
9+ - synchronize
10+ push :
11+ branches :
12+ - main
13+ workflow_call : {}
14+ workflow_dispatch : {}
15+
16+ jobs :
17+ build :
18+ name : Build on JDK ${{ matrix.java-version }} (${{ matrix.os-name }})
19+ runs-on : ${{ matrix.os-name }}
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ os-name : [ubuntu-latest]
25+ java-version :
26+ - GA # Latest GA JDK
27+ - EA # Current Mainline
28+ include :
29+ - os-name : macos-latest
30+ java-version : GA
31+ - os-name : windows-latest
32+ java-version : GA
33+
34+ steps :
35+ - name : Checkout repository
36+ uses : actions/checkout@v4
37+ with :
38+ fetch-depth : 2
39+
40+ - name : Initialize JDK
41+ uses : oracle-actions/setup-java@v1
42+ with :
43+ website : jdk.java.net
44+ release : ${{ matrix.java_version }}
45+
46+ - name : Compile and run tests
47+ shell : bash
48+ run : ./mvnw -B -U clean verify
49+
50+ - name : Upload to codecov
51+ uses : codecov/codecov-action@v4
52+ with :
53+ name : tests-java-${{ matrix.java-version }}-os-${{ matrix.os-name }}
54+ token : ${{ secrets.CODECOV_TOKEN }}
55+
56+ - name : Stash reports
57+ uses : actions/upload-artifact@v4
58+ if : always()
59+ with :
60+ name : reports-${{ matrix.java-version }}-${{ matrix.os-name }}
61+ if-no-files-found : error
62+ path : |
63+ **/surefire-reports/**
64+ **/failsafe-reports/**
65+ **/build*.log
66+ retention-days : 30
Original file line number Diff line number Diff line change 2626 - 11 # LTS
2727 - 17 # LTS
2828 - 21 # LTS
29- - 23
30- # - 24-ea
3129 include :
3230 - os-name : macos-latest
3331 java-version : 23
You can’t perform that action at this time.
0 commit comments