Merge branch 'github-ci' into dev

pull/536/head
John Niang 2020-01-31 11:31:03 +08:00 committed by GitHub
commit 474c2f369c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Java CI
name: Halo CI
on:
pull_request:
@ -15,6 +15,14 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache Gradle
id: cache-gradle
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Test with Gradle
run: ./gradlew test
- name: Build with Gradle