forked from frstprjkt/valeryn_xiaomi_sm6115
-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (33 loc) · 1.03 KB
/
Copy pathbuild-kernel.yml
File metadata and controls
41 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 }}