File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- java : [ 17 ]
10+ java : [ 21 ]
1111 name : Java ${{ matrix.java }} compile
1212 steps :
1313 - uses : actions/checkout@master
@@ -29,11 +29,11 @@ jobs:
2929 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3030 restore-keys : |
3131 ${{ runner.os }}-maven-
32- - name : Set up JDK 17
32+ - name : Set up JDK 21
3333 uses : actions/setup-java@v2
3434 with :
3535 distribution : ' adopt'
36- java-version : 17
36+ java-version : 21
3737 - name : Build and test project
3838 run : mvn clean verify
3939 - name : Upload Maven build artifact
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- java : [ 17 ]
10+ java : [ 21 ]
1111 name : Java ${{ matrix.java }} compile
1212 steps :
1313 - uses : actions/checkout@master
@@ -29,10 +29,10 @@ jobs:
2929 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3030 restore-keys : |
3131 ${{ runner.os }}-maven-
32- - name : Set up JDK 17
32+ - name : Set up JDK 21
3333 uses : actions/setup-java@v2
3434 with :
3535 distribution : ' adopt'
36- java-version : 17
36+ java-version : 21
3737 - name : Build and test project
3838 run : mvn clean verify
You can’t perform that action at this time.
0 commit comments