From 6ad7c3d8fb1814783a4f165dba225a664e8fc12c Mon Sep 17 00:00:00 2001 From: Daniel Gomez Rico Date: Sat, 2 Sep 2023 23:22:45 -0500 Subject: [PATCH] Fix ci --- .github/workflows/build.yaml | 5 +++++ .github/workflows/deploy.yaml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0a2e5f7..542f84e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,5 +19,10 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew + - name: Prepare Env + run: | + echo "android.useAndroidX=true" >> gradle.properties + echo "android.enableJetifier=true" >> gradle.properties + - name: Build with Gradle run: ./gradlew build diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4cc6a24..f3a1a01 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -28,6 +28,10 @@ jobs: BANJEN_ADS_UNIT_ID_BANNER: ${{ secrets.BANJEN_ADS_UNIT_ID_BANNER }} BANJEN_ADMOB_APP_ID: ${{ secrets.BANJEN_ADMOB_APP_ID }} run: | + run: | + echo "android.useAndroidX=true" >> gradle.properties + echo "android.enableJetifier=true" >> gradle.properties + base64 -d <<< $KEY > app/key.keystore echo $BANJEN_SIGN_PWD >> gradle.properties echo $BANJEN_SIGN_ALIAS >> gradle.properties