From 9d1c2a72db9185d9d3b2e2171a3703150dfa9f49 Mon Sep 17 00:00:00 2001 From: Sebastian Drost Date: Tue, 2 Nov 2021 09:36:04 +0100 Subject: [PATCH] Differentiate GitHub Actions build --- .github/workflows/android_ci.yml | 6 +++--- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml index c381c8950..8172e79ce 100644 --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -2,9 +2,9 @@ name: Android CI on: push: - branches: [ develop ] - pull_request: - branches: [ develop ] + branches: + - develop + - master jobs: build: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..c78b5514d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Gradle Build + +on: + pull_request: + branches: + - develop + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: set up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'adopt' + cache: gradle + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build \ No newline at end of file