File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11+ name : Build (Java ${{ matrix.java-version }})
1112 runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ java-version : [22, 25, 26]
1216
1317 steps :
1418 - uses : actions/checkout@v4
1519
16- - name : Set up Azul Zulu JDK 25
20+ - name : Set up JDK ${{ matrix.java-version }}
1721 uses : actions/setup-java@v4
1822 with :
19- distribution : zulu
20- java-version : ' 25'
23+ distribution : ' zulu'
24+ java-version : ${{ matrix.java-version }}
25+ cache : ' maven'
2126
2227 - name : Cache Maven repository
2328 uses : actions/cache@v4
2429 with :
2530 path : ~/.m2/repository
26- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
31+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ matrix.java-version }}
2732 restore-keys : |
28- ${{ runner.os }}-maven-
33+ ${{ runner.os }}-maven-${{ matrix.java-version }}-
2934
3035 - name : Install protobuf compiler
3136 run : sudo apt-get install -y protobuf-compiler
You can’t perform that action at this time.
0 commit comments