Browse Source

Create Github Actions pipeline for PR build workflow

pull/8680/head
Ellie Bahadori 6 years ago
parent
commit
e213e6430a
  1. 25
      .github/workflows/pr-build-workflow.yml

25
.github/workflows/pr-build-workflow.yml

@ -0,0 +1,25 @@ @@ -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
Loading…
Cancel
Save