Skip to content

Commit

Permalink
Set Java version of container to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauriichan authored Aug 20, 2023
1 parent 2e515a5 commit 5bd513f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11 ]
java: [ 17 ]
name: Java ${{ matrix.java }} compile
steps:
- uses: actions/checkout@master
Expand All @@ -29,10 +29,10 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
java-version: 17
- name: Build and test project
run: mvn clean verify

0 comments on commit 5bd513f

Please sign in to comment.