Skip to content

Commit fb039d0

Browse files
ci: update ubuntu image for java 7
1 parent 4f45e3c commit fb039d0

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/workflows/ci.yml

+28-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,34 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
java: [7, 8, 11]
16+
java: [8, 11]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Setup java
21+
uses: actions/setup-java@v1
22+
with:
23+
java-version: ${{ matrix.java }}
24+
- name: Cache Maven packages
25+
uses: actions/cache@v2
26+
with:
27+
path: ~/.m2
28+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
29+
restore-keys: ${{ runner.os }}-m2
30+
- name: Setup Node.js
31+
uses: actions/setup-node@v1
32+
with:
33+
node-version: 14.x
34+
- name: Run the Maven verify phase
35+
run: mvn verify -Dgpg.skip=true
36+
37+
verify-java7:
38+
runs-on: ubuntu-22.04 # with maven 3.8 (https://github.com/actions/runner-images/blob/ubuntu24/20250105.1/images/ubuntu/Ubuntu2204-Readme.md)
39+
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
java: [ 7 ]
1744

1845
steps:
1946
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)