Skip to content

Commit

Permalink
Update build_ksu.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
whyakari authored Feb 26, 2024
1 parent 9bb06e2 commit 4abe689
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build_ksu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Build Kernel (KSU)
on:
workflow_dispatch

env:
TOKEN_GITHUB: ${{ secrets.TOKEN_GITHUB }}

jobs:
build_ci:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,11 +50,23 @@ jobs:
sudo apt-get update
sudo apt-get -y --no-install-recommends install python3 python3-pip git make gcc bc bison flex libssl-dev ccache libelf-dev libncurses-dev bc binutils-dev ca-certificates clang cmake curl file flex git libelf-dev libssl-dev lld make ninja-build python3-dev texinfo u-boot-tools xz-utils zlib1g-dev
- name: Compile Kernel CI
- name: Pip Install Packages
working-directory: ./android_kernel_xiaomi_ginkgo
run: |
./build_ci
pip install Pyrogram TgCrypto load_dotenv
- name: Export Variables
run: |
echo "CHAT_ID=${{ secrets.CHAT_ID }}" >> .env
echo "API_ID=${{ secrets.API_ID }}" >> .env
echo "API_HASH=${{ secrets.API_HASH }}" >> .env
echo "BOT_TOKEN=${{ secrets.BOT_TOKEN_PIXELOS }}" >> .env
- name: Compile Kernel CI
working-directory: ./android_kernel_xiaomi_ginkgo
run: |
python3 bot.py -t dev # or release.
- name: Move CI Build
working-directory: ./android_kernel_xiaomi_ginkgo
run: |
Expand Down

0 comments on commit 4abe689

Please sign in to comment.