Add github action

This commit is contained in:
Aleksei Gryczewski 2020-07-11 13:13:23 -04:00 committed by GitHub
parent 7910f397e6
commit 6b8b8cf01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
.github/workflows/gradle.yml vendored Normal file
View File

@ -0,0 +1,28 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.11
uses: actions/setup-java@v1
with:
java-version: 1.11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build