From 40591e466fc8df1689234a8d3decfbb65a9467a7 Mon Sep 17 00:00:00 2001 From: LikDev-256 <81100289+LikDev-256@users.noreply.github.com> Date: Fri, 14 Oct 2022 19:55:32 +0530 Subject: [PATCH] Update action --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dacb8092..2aaa7525 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,16 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 11 + uses: actions/setup-java@v2 with: - java-version: 1.8 - - name: Make Gradle executable - run: chmod +x ./gradlew - - name: Build with Gradle - run: ./gradlew build - - name: Build Debug APK - run: ./gradlew assembleDebug + java-version: '11' + distribution: 'adopt' + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Run Gradle + run: | + ./gradlew assembleDebug - name: Releasing using Hub uses: ShaunLWM/action-release-debugapk@master env: