Skip to content

Comments

ci: Create a workflow to automate build and publish apk#5

Open
chirag-droid wants to merge 2 commits intooddlyspaced:mainfrom
chirag-droid:main
Open

ci: Create a workflow to automate build and publish apk#5
chirag-droid wants to merge 2 commits intooddlyspaced:mainfrom
chirag-droid:main

Conversation

@chirag-droid
Copy link

Screenshots

image

Workflow to automate build and publish

  • The workflow will run on push and pull request to main branch and automatically check if the app build is successful
  • On creating a github release (v1.0.0) it will automatically upload the debug and release apks to the assets
  • Removed the apk from source code, so you don't have to manually do it

Setup

If you want to sign your release apks you will need to create 4 secrets in your repository from settings. namely:

  • ALIAS - the key alias
  • KEY_PASSWORD - the key password
  • KEY_STORE_PASSWORD - the password for the keystore. generally same as the KEY_PASSWORD
  • SIGNING_KEY - your keystore file in base64

you can obtain the signing key using this command if on linus

cat keystore_path | base64

You can also have a test workflow to test the app on real device.

@chirag-droid
Copy link
Author

@oddlyspaced
Copy link
Owner

Great! I won't be merging this right now, as I have a couple of plans in order to update the repo structure, once my exams get over. Once that's there we can tweak and set up a proper ci. Thanks a lot for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants