FastAsyncWorldEdit/.github/workflows/gradle.yml

28 Zeilen
578 B
YAML

2019-11-06 17:45:41 +01:00
name: Java CI
on:
push:
branches:
2019-12-11 23:51:06 +01:00
- 1.15
2019-11-06 17:45:41 +01:00
pull_request:
branches:
2019-12-11 23:51:06 +01:00
- 1.15
2019-11-06 17:45:41 +01:00
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
2020-03-19 23:45:24 +01:00
- name: Download BuildTools
run: wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
2020-03-19 23:47:48 +01:00
- name: Run BuildTools
run: java -jar BuildTools.jar --rev latest
2019-11-06 17:45:41 +01:00
- name: Test with Gradle
run: ./gradlew clean build -x test
2020-03-19 23:45:24 +01:00