Skip to content

Build Kernel on GitHub Actions #20

Build Kernel on GitHub Actions

Build Kernel on GitHub Actions #20

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_actions.sh -L https://raw.githubusercontent.com/Joe7500/valeryn_xiaomi_sm6115/refs/heads/build-actions/build_actions.sh
- name: Build kernel
run: bash build_actions.sh
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: chime kernel by @joe_7500
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}