mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Build on Java 1.8 and 1.11
This commit is contained in:
parent
1f02287caa
commit
3a5cfdc357
13
.github/workflows/gradle.yml
vendored
13
.github/workflows/gradle.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user