From 328a1f431787e216b91faa165682173538e2980c Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 18 Feb 2024 16:47:18 -0500 Subject: [PATCH] Update actions --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72b8b14a..b617d4f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,15 +24,16 @@ jobs: uses: gradle/wrapper-validation-action@v1 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Build app - uses: gradle/gradle-command-action@v2 - with: - arguments: bundlePlaystoreRelease + run: ./gradlew bundlePlaystoreRelease # Sign app bundle and create release for tags @@ -58,6 +59,8 @@ jobs: alias: ${{ secrets.ALIAS }} keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} keyPassword: ${{ secrets.KEY_PASSWORD }} + env: + BUILD_TOOLS_VERSION: "34.0.0" - name: Create release if: startsWith(github.ref, 'refs/tags/') && github.repository == 'LISTEN-moe/android-app'