Skip to content

Build Kernel on GitHub Actions #14

Build Kernel on GitHub Actions

Build Kernel on GitHub Actions #14

Workflow file for this run

name: Build Kernel on GitHub Actions
on:
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
detached: true
- name: Update environment
run: sudo apt update -y
- name: Install Dependencies
run: sudo apt install -y git build-essential zip unzip curl
- name: Get script
run: curl -o build_kernel.sh -L https://raw.githubusercontent.com/Joe7500/valeryn_xiaomi_sm6115/refs/heads/build-actions/build_kernel.sh
- name: Build kernel
run: bash build_kernel.sh vanilla ksun1 ksun3
continue-on-error: true
- name: Upload to Release
uses: softprops/action-gh-release@v3
with:
files: |
4.19*.zip
*kernel-prebuilt*.tar.xz
name: kernel chime ${{ github.run_id }}
tag_name: ${{ github.run_id }}
body: automated upload via manual build trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}