1
0
mirror of synced 2026-07-27 13:35:29 +00:00

Use Github Actions workflow for PRs and remove Travis

Closes gh-8716
This commit is contained in:
Ellie Bahadori
2020-06-17 16:43:18 -07:00
committed by Eleftheria Stein-Kousathana
parent 5802954130
commit aa5a42cfbc
3 changed files with 22 additions and 18 deletions
+22
View File
@@ -0,0 +1,22 @@
name: PR Build
on: pull_request
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '8'
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Build with Gradle
run: ./gradlew clean build --continue