Skip to content

BUILD: use host temp.sh to upload zip kernel #1

BUILD: use host temp.sh to upload zip kernel

BUILD: use host temp.sh to upload zip kernel #1

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-24.04
strategy:
fail-fast: true
matrix:
device: [g84]
name: "🚧 Build for ${{matrix.device}}"
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: szenius/[email protected]
with:
timezoneLinux: "Asia/Kolkata"
- name: Setup Toolchains
run: |
sudo apt update
sudo apt install bison flex libssl-dev libarchive-tools -y
mkdir -p toolchain
cd toolchain
echo 'Download antman and sync'
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") -S=11032023
echo 'Done'
- name: Run build
run: |
chmod +x ksu_update.sh
./ksu_update.sh -t stable
DEVICE=${{matrix.device}} ./build.sh
- name: Upload kernel
uses: actions/upload-artifact@v4
with:
name: O_kernel-${{matrix.device}}_Clang_17
path: AnyKernel3/O*.zip
- name: Upload to Telegram
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
document: AnyKernel3/O*.zip
message: "Build COmpleted"