Skip to content

Init Waifu Kernel

Init Waifu Kernel #6

Workflow file for this run

name: Build Kernel
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "surya" ]
pull_request:
branches: [ "surya" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup timezone
uses: szenius/set-timezone@master
with:
timezoneLinux: "Asia/Bangkok"
- name: Install Package
run: |
sudo apt-get install -y libdebuginfod-dev bc python2-dev python2 curl zip wget
- name: Run build script
run: |
export KBUILD_BUILD_USER=nobody
export KBUILD_BUILD_HOST=android-build
source build.sh
echo "ZIPNAME=${ZIPNAME}" >> $GITHUB_ENV
- name: Setup build date
run: echo "BUILD_DATE=$(date '+%H:%M %d/%m/%Y')" >> $GITHUB_ENV
- name: Upload build artifact
uses: actions/upload-artifact@main
with:
name: my-artifact
path: ${{ env.ZIPNAME }}