From ca9f09683705b291317285dda0c238f17cc54cad Mon Sep 17 00:00:00 2001 From: Filipe Belatti Date: Tue, 22 Oct 2024 23:09:53 +0100 Subject: [PATCH] Update configuration and add missing env variable --- .github/workflows/signed-build.yml | 3 ++- app/build.gradle.kts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/signed-build.yml b/.github/workflows/signed-build.yml index 3ae3dbee..1df9c9f2 100644 --- a/.github/workflows/signed-build.yml +++ b/.github/workflows/signed-build.yml @@ -25,6 +25,7 @@ jobs: - name: Build run: ./gradlew app:assemblePinboardapiRelease env: + SIGN_BUILD: true SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} @@ -54,7 +55,7 @@ jobs: - name: Build run: ./gradlew app:bundlePinboardapiRelease env: - SIGN_BUILD: "true" + SIGN_BUILD: true SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 90cfe9bd..fac3b3d3 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -100,7 +100,7 @@ android { isShrinkResources = true isCrunchPngs = false - if (System.getenv("SIGN_BUILD") == "true") { + if (System.getenv("SIGN_BUILD").toBoolean()) { signingConfig = signingConfigs.getByName("release") }