1
0
mirror of https://github.com/BentoBoxWorld/Warps.git synced 2024-11-26 04:25:40 +01:00

Update to Java 16 for GitHub Action building

This commit is contained in:
tastybento 2021-07-09 09:07:43 -07:00
parent 9333265e4d
commit f6207ababd

View File

@ -14,18 +14,19 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11 - name: Set up JDK 16
uses: actions/setup-java@v1 uses: actions/setup-java@v2
with: with:
java-version: 11 distribution: 'adopt'
java-version: '16'
- name: Cache SonarCloud packages - name: Cache SonarCloud packages
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ~/.sonar/cache path: ~/.sonar/cache
key: ${{ runner.os }}-sonar key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages - name: Cache Maven packages
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ~/.m2 path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}