Merge pull request #8680 from elliedori/github-actions-pr-pipeline

Set up Github Actions pipeline for PRs
This commit is contained in:
Ellie Bahadori 2020-06-16 11:19:37 -07:00 committed by GitHub
commit 27e1c582b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/pr-build-workflow.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: PR Build
on:
pull_request:
branches:
- master
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