keytool -genkey -v -keystore android.keystore \
-alias myalias -keyalg RSA -keysize 2048 -validity 10000 \
-storepass YOUR_PASSWORD -keypass YOUR_PASSWORD \
-dname "CN=MyAdventure, OU=Dev, O=MyAdventure, L=City, ST=State, C=US"- Base64 encode the keystore:
base64 -w 0 android.keystore > android.keystore.base64- In your GitHub repo, go to Settings → Secrets and variables → Actions and add:
ANDROID_KEYSTORE_BASE64— contents ofandroid.keystore.base64ANDROID_SIGNING_PASSWORD— the password you used above
For local Android builds without signing, the APK will be unsigned.
For signed local builds, place android.keystore in the repo root (it's gitignored).