name: KBuild on: workflow_dispatch: jobs: kb: runs-on: ubuntu-22.04 steps: - name: Checkout uses: https://git.yiffing.dev/Ksawlii/checkout@main - name: Clean uses: https://git.yiffing.dev/Ksawlii/slimhub_actions@main - name: Install tools run: | sudo apt-get update -y &>/dev/null || sudo apt-get update -y &>/dev/null || true sudo apt-get upgrade -y &>/dev/null || sudo apt-get upgrade -y &>/dev/null || true sudo apt-get install flex bison brotli zip zstd tar lz4 cpio xz-utils -y || sudo apt-get install brotli zip zstd tar lz4 cpio xz-utils -y - name: Build run: | rm -rf setup.sh* rm -rf KernelSU* wget https://raw.githubusercontent.com/nitanmarcel/KernelSU-susfs/refs/heads/main/kernel/setup.sh chmod +x setup.sh ./setup.sh* rm -rf setup.sh echo "Building without KernelSU..." ./kernel_build/build.sh "$(pwd)" || exit 1 echo "Building with KernelSU..." ./kernel_build/build-ksu.sh "$(pwd)" || exit 1 - name: Upload uses: https://git.yiffing.dev/Ksawlii/upload-artifact@main with: name: Kernels_a53x path: kernel_build/FireAsf*