3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 20:10:06 +01:00

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