Skip to content

Commit

Permalink
feat(*): Github Actions for PR builds (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens committed Jan 13, 2020
1 parent 860b451 commit 8324f5d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pr.yml
@@ -0,0 +1,23 @@
name: PR

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- uses: actions/cache@v1
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build
env:
GRADLE_OPTS: -Xmx6g -Xms6g -Dorg.gradle.daemon=false
run: ./gradlew build

0 comments on commit 8324f5d

Please sign in to comment.