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