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") }