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 00526bf commit 1df7c06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
APKSIGN_KEY_PASS: ${{ secrets.APKSIGN_KEY_PASS }}

run: |
echo $APKSIGN_KEYSTORE_BASE64 | base64 -di > release.jks
export APKSIGN_KEYSTORE=`pwd`/release.jks
echo $APKSIGN_KEYSTORE_BASE64 | base64 -di > release.keystore
export APKSIGN_KEYSTORE=`pwd`/release.keystore
cd khelo
file='VERSION'
fileData=`cat $file`
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/android_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
APKSIGN_KEY_PASS: ${{ secrets.APKSIGN_KEY_PASS }}

run: |
echo $APKSIGN_KEYSTORE_BASE64 | base64 -di > release.jks
export APKSIGN_KEYSTORE=`pwd`/release.jks
echo $APKSIGN_KEYSTORE_BASE64 | base64 -di > release.keystore
export APKSIGN_KEYSTORE=`pwd`/release.keystore
cd khelo
file='VERSION'
fileData=`cat $file`
Expand All @@ -72,7 +72,7 @@ jobs:
cd android
gem install bundler -v 2.4.22
bundle install
echo $APP_PLAY_SERVICE_JSON > google_play_api_key.json
echo $APP_PLAY_SERVICE_JSON | base64 -di > google_play_api_key.json
bundle exec fastlane supply init --track internal
bundle exec fastlane upload_internal versionName:$buildName versionCode:$buildNumber
Expand Down

0 comments on commit 1df7c06

Please sign in to comment.