Minions should not attack team players or players at all if PVP is di… #1363
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
push: | |
branches: | |
- '1.16*' | |
- '1.15*' | |
- '1.14*' | |
- '1.12*' | |
pull_request: | |
branches: | |
- '1.16*' | |
- '1.15*' | |
- '1.14*' | |
- '1.12*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Cache Gradle Cache | |
uses: actions/cache@v1.0.3 | |
with: | |
path: | | |
~/.gradle/caches | |
key: ${{ runner.os }}-gradle-cache${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle-cache | |
- name: Cache Gradle Wrapper | |
uses: actions/cache@v1.0.3 | |
with: | |
path: | | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-wrapper${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle-wrapper | |
- name: Clean cache | |
run: | | |
rm -f ~/.gradle/caches/modules-2/modules-2.lock ~/.gradle/caches/*/plugin-resolution/ ~/.gradle/caches/minecraft/deobfedDeps/providedDummy.jar ~/.gradle/caches/minecraft/deobfedDeps/compileDummy.jar | |
- name: Setup Gradle | |
run: ./gradlew | |
- name: Build | |
run: ./gradlew build |