Update gh actions to use java 17

This commit is contained in:
Cédric Couralet 2023-09-18 21:38:12 +02:00 committed by Cédric Couralet
parent df60257603
commit 4642aa476b
3 changed files with 10 additions and 9 deletions

View File

@ -8,9 +8,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

View File

@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
- name: Cache Maven packages
uses: actions/cache@v2
with:

View File

@ -11,10 +11,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/setup-java@v3
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
- name: Cache Maven packages
uses: actions/cache@v2
with: