Skip to content

Commit

Permalink
Create Github Actions pipeline for PR build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elliedori committed Jun 11, 2020
1 parent 1d821a2 commit e213e64
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 e213e64

Please sign in to comment.