Skip to content

Commit 67e6179

Browse files
committed
ci: fix github actions workflow to support building on java 17
1 parent 65458af commit 67e6179

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/maven.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
- name: Set up JDK 11
19-
uses: actions/setup-java@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-java@v4
2019
with:
21-
distribution: adopt
22-
java-version: 11
23-
24-
- uses: actions/cache@v3
25-
with:
26-
path: ~/.m2/repository
27-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28-
restore-keys: |
29-
${{ runner.os }}-maven-
20+
distribution: temurin
21+
java-version: 17
22+
cache: maven
3023

3124
- name: Build with Maven
3225
run: |

0 commit comments

Comments
 (0)