From 00526bf367aa5ffe2f25e75b7609fb7586ee61e9 Mon Sep 17 00:00:00 2001 From: cp-sneha-s Date: Thu, 4 Apr 2024 18:02:56 +0530 Subject: [PATCH] Set up CI/CD for android --- .github/workflows/android_build.yml | 2 +- .github/workflows/android_deploy.yml | 2 +- khelo/android/app/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android_build.yml b/.github/workflows/android_build.yml index f7e3802a..975fd2f5 100644 --- a/.github/workflows/android_build.yml +++ b/.github/workflows/android_build.yml @@ -57,7 +57,7 @@ jobs: APKSIGN_KEY_PASS: ${{ secrets.APKSIGN_KEY_PASS }} run: | - echo $APKSIGN_KEYSTORE_BASE64 | base64 --decode > release.jks + echo $APKSIGN_KEYSTORE_BASE64 | base64 -di > release.jks export APKSIGN_KEYSTORE=`pwd`/release.jks cd khelo file='VERSION' diff --git a/.github/workflows/android_deploy.yml b/.github/workflows/android_deploy.yml index 3db94bb5..8555274e 100644 --- a/.github/workflows/android_deploy.yml +++ b/.github/workflows/android_deploy.yml @@ -72,7 +72,7 @@ jobs: cd android gem install bundler -v 2.4.22 bundle install - echo $APP_PLAY_SERVICE_JSON | base64 --decode > google_play_api_key.json + echo $APP_PLAY_SERVICE_JSON > google_play_api_key.json bundle exec fastlane supply init --track internal bundle exec fastlane upload_internal versionName:$buildName versionCode:$buildNumber diff --git a/khelo/android/app/build.gradle b/khelo/android/app/build.gradle index abb3a109..6afb7f73 100644 --- a/khelo/android/app/build.gradle +++ b/khelo/android/app/build.gradle @@ -56,7 +56,7 @@ android { signingConfigs { - if (System.getenv("APKSIGN_KEYSTORE")!= null){ + if (System.getenv("APKSIGN_KEYSTORE") != null){ release { storeFile file(System.getenv("APKSIGN_KEYSTORE")) storePassword System.getenv("APKSIGN_KEYSTORE_PASS")