From 0578acb6b60d1d7f2c31cdd6ba8982fbcc79101e Mon Sep 17 00:00:00 2001 From: Nima Kaviani <17132353+nimakaviani@users.noreply.github.com> Date: Tue, 16 Feb 2021 13:33:29 -0800 Subject: [PATCH] configure build for PRs (#14) --- .github/workflows/pr.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..55f24df --- /dev/null +++ b/.github/workflows/pr.yml @@ -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