Plex-FAWE/.github/workflows/gradle.yml

29 lines
611 B
YAML
Raw Normal View History

2019-11-06 16:45:41 +00:00
name: Java CI
on:
push:
branches:
2020-07-21 18:29:57 +00:00
- '1.16'
2019-11-06 16:45:41 +00:00
pull_request:
branches:
2020-07-21 18:29:57 +00:00
- '1.16'
2019-11-06 16:45:41 +00:00
jobs:
test:
runs-on: ubuntu-18.04
steps:
2020-03-20 00:12:21 +00:00
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Setup Java JDK
uses: actions/setup-java@v1.3.0
2019-11-06 16:45:41 +00:00
with:
java-version: 1.8
2020-03-19 22:45:24 +00:00
- name: Download BuildTools
run: wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
2020-03-19 22:47:48 +00:00
- name: Run BuildTools
run: java -jar BuildTools.jar --rev latest
2019-11-06 16:45:41 +00:00
- name: Test with Gradle
run: ./gradlew clean build -x test
2020-03-19 22:45:24 +00:00