Skip to content

Commit

Permalink
Merge pull request #8680 from elliedori/github-actions-pr-pipeline
Browse files Browse the repository at this point in the history
Set up Github Actions pipeline for PRs
  • Loading branch information
elliedori committed Jun 16, 2020
2 parents 224361c + e213e64 commit 27e1c58
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pr-build-workflow.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 27e1c58

Please sign in to comment.