Skip to content

Commit

Permalink
configure build for PRs (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimakaviani authored Feb 16, 2021
1 parent 6585370 commit 0578acb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PR Build

on: [ pull_request ]

env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx6g -Xms6g

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: set up jdk 11
uses: actions/setup-java@v1
with:
java-version: 11.0.9

- name: checkout code
uses: actions/checkout@v2

- name: run tests
run: ./gradlew test

- name: build
run: ./gradlew releaseBundle && ls -la ./build/distributions

0 comments on commit 0578acb

Please sign in to comment.