Skip to content

Commit

Permalink
Set up CI/CD for android
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Apr 4, 2024
1 parent 8b25a0e commit 00526bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion khelo/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 00526bf

Please sign in to comment.