From 69203799eb2064a1fcae97485568bc8691ee3a72 Mon Sep 17 00:00:00 2001 From: Daniel Gomez Rico Date: Sat, 2 Sep 2023 23:44:14 -0500 Subject: [PATCH] Fix ci --- .github/workflows/build.yaml | 2 +- .github/workflows/deploy.yaml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b590701..361aefc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,7 +26,7 @@ jobs: echo "android.useAndroidX=true" >> gradle.properties echo "android.enableJetifier=true" >> gradle.properties - base64 -d <<< GOOGLE_SERVICES > app/google-services.json + echo "$GOOGLE_SERVICES" | base64 -d > app/google-services.json - name: Build with Gradle run: ./gradlew build diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 85a76c2..78d9304 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -32,15 +32,15 @@ jobs: run: | echo "android.useAndroidX=true" >> gradle.properties echo "android.enableJetifier=true" >> gradle.properties - - base64 -d <<< $KEY > app/key.keystore - base64 -d <<< GOOGLE_SERVICES > app/google-services.json - echo $BANJEN_SIGN_PWD >> gradle.properties - echo $BANJEN_SIGN_ALIAS >> gradle.properties - echo $BANJEN_SIGN_PATH >> gradle.properties - echo $BANJEN_ADS_UNIT_ID_BANNER >> gradle.properties - echo $BANJEN_ADMOB_APP_ID >> gradle.properties - + + echo "$KEY" | base64 -d > app/key.keystore + echo "GOOGLE_SERVICES" | base64 -d > app/google-services.json + + echo "$BANJEN_SIGN_PWD" | base64 -d >> gradle.properties + echo "$BANJEN_SIGN_ALIAS" | base64 -d >> gradle.properties + echo "$BANJEN_SIGN_PATH" | base64 -d >> gradle.properties + echo "$BANJEN_ADS_UNIT_ID_BANNER" | base64 -d >> gradle.properties + echo "$BANJEN_ADMOB_APP_ID" | base64 -d >> gradle.properties - name: Build with Gradle run: ./gradlew bundleRelease