Skip to content
Discussion options

You must be logged in to vote

Applies to: any version — this is how the project works by design.

Yes. GitHub's runner does the build. The phone only creates the key and stores it as your fork's secrets, in Termux.

  1. Create the key, once:
    pkg update && pkg install -y openjdk-17
    keytool -genkeypair -v -keystore release.jks \
      -alias lessons -keyalg RSA -keysize 4096 -validity 10000
    keytool asks for one password, then for it again. A PKCS12 keystore holds a single password, so the same one goes into both KEYSTORE_PASSWORD and KEY_PASSWORD in step 3. If they differ, the build fails at signing. To generate a password, run head -c 24 /dev/urandom | base64.
  2. Store the key as a secret. Do not select any text by hand. A truncat…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:android area:ci for:operator Whoever runs a server or builds and signs an APK of their own
1 participant