Build Kernel #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Kernel | |
on: | |
workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # 将fetch-depth设置为0,以仅拉取最新版本的仓库 | |
- name: Android kernel build | |
uses: lemniskett/android-kernel-actions@master | |
id: build | |
env: | |
NAME: yipiaoerguo | |
with: | |
arch: arm64 | |
compiler: clang/11 | |
defconfig: yuan_defconfig | |
image: Image.gz-dtb | |
- name: Release build | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: ${{ steps.build.outputs.outfile }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: yuan_defconfig1-dtb1 |