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