Github actions and fork of croc#5
Conversation
Generate a test signing key and sign the release APK before uploading as a build artifact, replacing the previous unsigned APK upload with the signed version.
Separate the monolithic build job into two distinct jobs: - debug: builds and signs with test key, uploads debug artifact - release: builds with production keystore secrets, extracts version info from build config, uploads signed artifact, and creates a GitHub release with changelog from fastlane metadata
- Use `head -1` when grepping versionName/versionCode to avoid matching multiple occurrences in build.gradle.kts - Simplify regex patterns for more reliable version parsing - Use conditional `--notes-file` flag instead of cat with fallback for passing changelog to gh release create - Update croc submodule
|
To use release add 4 secrets GitHub → Settings → Secrets and variables → Actions: e.g. |
|
Unfortunately, croc-app doesn't work on Android 16. The issue is that libcroc.so isn't a real shared library. Go with CGO_ENABLED=0 produces a regular PIE executable that's just named libcroc.so. This worked on Android ≤15 because nativeLibraryDir had execute permissions. Android 16 'Baklava' blocks execve() from the app context. |
|
Thank you abakum, for the efforts |
Dear Dastageer, I made a convenient workflow for you. And I tried my fork of croc — it works. Now the recipient can start receiving files before the sender. You can revert to the original croc using the command orig.sh. https://github.com/abakum/croc-app/releases/tag/v4.1.0