From e7fe561665eeb4d1964c94a48651d1e46dc78e6d Mon Sep 17 00:00:00 2001 From: nuclearfog <32868976+nuclearfog@users.noreply.github.com> Date: Wed, 10 May 2023 19:16:59 +0000 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c28886e7..4ec6e3bf 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,32 +1,19 @@ name: Android CI +on: [push, pull_request] -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: +jobs: build: + name: "Build" runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - - name: set up JDK 11 + - uses: gradle/wrapper-validation-action@v1 - uses: joschi/setup-jdk@v2 with: java-version: '11' architecture: 'x64' - - - name: Grant execute permission for gradlew - run: chmod +x gradlew + + - run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build - validation: - name: "Validation" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: gradle/wrapper-validation-action@v1 -