Add github workflow

This commit is contained in:
Him188 2020-03-06 09:30:15 +08:00 committed by GitHub
parent cdd2b4cbaf
commit 195337fdc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Gradle CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build