Skip to content

Feature/add workflow#11

Open
azagramac wants to merge 2 commits intosam1am:mainfrom
azagramac:feature/add-workflow
Open

Feature/add workflow#11
azagramac wants to merge 2 commits intosam1am:mainfrom
azagramac:feature/add-workflow

Conversation

@azagramac
Copy link
Copy Markdown

No description provided.

Adding Android Keystore Secrets to GitHub

To sign your Android APKs in GitHub Actions, you need to store your keystore and related passwords as GitHub secrets. Follow these steps:

| Secret Name         | Description                                         |
|--------------------|-----------------------------------------------------|
| `KEYSTORE`          | Content of the keystore file encoded in base64.    |
| `KEYSTORE_PASSWORD` | Password for the keystore.                         |
| `KEY_ALIAS`         | Alias of the signing key inside the keystore.      |
| `KEY_PASSWORD`      | Password of the signing key.                       |


Step 1: Generate the Keystore
Use keytool to create your keystore:
```bash
keytool -genkey -v -keystore anyapk-release.keystore -alias anyapk -keyalg RSA -keysize 2048 -validity 10000
```

Step 2: Encode Keystore as Base64
```bash
base64 -i anyapk-release.keystore -o anyapk-release.keystore.base64
```bash
Copy the contents of anyapk-release.keystore.base64 — you will use this for the GitHub secret KEYSTORE.
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.

1 participant