Upgrade GH workflows with JDK 11

This commit is contained in:
Francesco Chicchiriccò 2023-05-07 08:13:32 +02:00
parent 1423932978
commit a84728ccb1
1 changed files with 6 additions and 5 deletions

View File

@ -21,13 +21,14 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Set up JDK 1.8' - name: Setup Java JDK
uses: actions/setup-java@v1 uses: actions/setup-java@v3
with: with:
java-version: '1.8' distribution: 'zulu'
java-version: 11
- name: 'Cache Maven packages' - name: 'Cache Maven packages'
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2 path: ~/.m2
key: 'cache' key: 'cache'