https://github.com/hazepynut/gki-builder
GKI Builder || Force Push Warning!
https://github.com/hazepynut/gki-builder
bash github-actions gki gki-builder
Last synced: 8 months ago
JSON representation
GKI Builder || Force Push Warning!
- Host: GitHub
- URL: https://github.com/hazepynut/gki-builder
- Owner: hazepynut
- License: wtfpl
- Created: 2025-01-25T10:22:10.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-16T14:35:54.000Z (over 1 year ago)
- Last Synced: 2025-02-16T15:24:13.938Z (over 1 year ago)
- Topics: bash, github-actions, gki, gki-builder
- Language: Shell
- Homepage:
- Size: 4.97 MB
- Stars: 1
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Build Android GKI with GitHub Actions
[](https://www.codefactor.io/repository/github/hazepynut/gki-builder)
This repository provides an automated workflow to build the **Android Generic Kernel Image (GKI)** using **GitHub Actions**.
With this setup, you can compile the GKI kernel directly in GitHubβs cloud environment without requiring a powerful local machine.
## π Prerequisites
Before running the workflow, you need to configure some **secrets** in your GitHub repository:
1. **`GH_TOKEN`** β Your GitHub personal access token, required for uploading build artifacts to the repository.
- [How to generate a GitHub Token?](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)
2. **`TOKEN`** β Your Telegram bot token, required for sending build notification.
- [How to create a Telegram bot?](https://www.siteguarding.com/en/how-to-get-telegram-bot-api-token)
4. **`CHAT_ID`** β The Telegram chat or group ID where the bot will send notifications.
- [How to get a Telegram chat ID?](https://www.wikihow.com/Know-Chat-ID-on-Telegram-on-Android)
### How to Add Secrets to GitHub
- Follow this guide: [Using secrets in GitHub Actions](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions)
## βοΈ Configuration
Before running the workflow, you **must** modify the following files according to your requirements:
- **`config.sh`** β Contains kernel configuration settings.
- **`build.sh`** β The main script responsible for compiling the kernel.
Once configured, you can start building!
## β
Compatibility
| GKI Version | Support |
|-------------|---------|
| **5.10** | β
Yes |
| **>5.10** | β No |
## π License
This project is licensed under the **[WTFPL](http://www.wtfpl.net/)**