This repository contains GitHub Actions workflows for building and releasing Android applications written in Kotlin. The main workflow, defined in app-build.yml
, automates the building, signing, and releasing of the application.
The Android Build and Release
workflow triggers on every push to the master branch. It performs the following main tasks:
- Sets up a Java and Android environment.
- Builds the release version of the Android application.
- Signs the APK.
- Publishes the APK as a release.
This workflow requires you to provide the following secrets in the repository settings:
SIGNING_KEY
: Base64 encoded content of the Android signing key store file (*.jks).ALIAS
: Alias of the key within the key store.KEY_STORE_PASSWORD
: The password for the key store file.KEY_PASSWORD
: The password for the key.
To use this workflow:
- Place the
app-build.yml
file in the.github/workflows
directory of your repository. - Ensure all required secrets are configured in your GitHub repository.
- Push changes to the master branch.
- The workflow will run automatically, building, signing, and releaseing your application.
- The name and version of the software released in the "Releases" section will reflect the repository name and the version specified in the
app/build.gradle.kts
file. - After the workflow completes, check the created release in your repository's "Releases" section.
- Validate the generated APK and release informaion, make any necessary corrections manually.
This project is licensed under the MIT License - see the LICENSE file for details.