Build on Java 1.8 and 1.11

Dieser Commit ist enthalten in:
HeroCC 2020-10-03 22:28:58 +02:00 committet von Aurora
Ursprung 1f02287caa
Commit 3a5cfdc357

Datei anzeigen

@ -11,6 +11,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java: [1.8, 1.11]
steps:
- name: Checkout
@ -18,23 +21,23 @@ jobs:
- name: Setup Java JDK
uses: actions/setup-java@v1.4.2
with:
java-version: 1.8
java-version: ${{ matrix.java }}
- name: Cache Gradle
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
key: ${{ runner.os }}-${{ matrix.java }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
${{ runner.os }}-${{ matrix.java }}-gradle-
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
${{ runner.os }}-${{ matrix.java }}-maven-
- name: Cache BuildTools decompiled code
uses: actions/cache@v2
with: