1
0
mirror of synced 2026-08-04 09:17:02 +00:00

Use Github Actions PR pipeline and remove Travis for 4.2.x

Closes gh-8715
This commit is contained in:
Ellie Bahadori
2020-07-02 01:15:52 -07:00
committed by GitHub
parent ff25799f36
commit be0759302f
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 test --refresh-dependencies --no-daemon