mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-05 04:16:06 +00:00
28 lines
578 B
YAML
28 lines
578 B
YAML
name: Java CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 1.15
|
|
pull_request:
|
|
branches:
|
|
- 1.15
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 1.8
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 1.8
|
|
- name: Download BuildTools
|
|
run: wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
|
|
- name: Run BuildTools
|
|
run: java -jar BuildTools.jar --rev latest
|
|
- name: Test with Gradle
|
|
run: ./gradlew clean build -x test
|
|
|