2019-12-29 16:32:35 +01:00
|
|
|
name: Java CI
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2020-04-10 17:23:08 +02:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2019-12-29 16:32:35 +01:00
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2020-01-05 18:52:30 +01:00
|
|
|
- name: Test with Gradle
|
|
|
|
run: ./gradlew test
|
2019-12-29 16:32:35 +01:00
|
|
|
- name: Build with Gradle
|
2020-01-15 21:09:28 +01:00
|
|
|
run: ./gradlew build
|
2020-08-03 16:43:35 +02:00
|
|
|
- uses: actions/upload-artifact@v2
|
2020-04-09 19:52:07 +02:00
|
|
|
with:
|
|
|
|
name: artifact
|
|
|
|
path: build/release/*
|