Update workflow

This commit is contained in:
Blue (Lukas Rieger) 2020-09-04 12:09:42 +02:00
parent b1fd91681e
commit ee3412a27a

View File

@ -1,24 +1,21 @@
name: Java CI
on:
push:
branches:
- master
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 8
- name: Build with Gradle
run: ./gradlew clean test build
- uses: actions/upload-artifact@v2
with:
name: artifact
name: artifacts
path: build/release/*