Build a kernel for the PineNote #45
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 a kernel for the PineNote | |
permissions: | |
contents: write | |
on: | |
# push: | |
# branches: | |
# - 'mw/rk35/pinenote-next-t1' | |
workflow_dispatch: | |
jobs: | |
compile_kernel: | |
runs-on: ubuntu-latest | |
name: Compile the pinenote kernel | |
steps: | |
- name: Docker-based compilation | |
id: compile-kernel-in-docker | |
uses: m-weigand/linux@description | |
# - uses: actions/upload-artifact@v3 | |
# with: | |
# name: pinenote_kernel_modules_dtb | |
# path: /home/runner/work/_temp/_github_home/pack/ | |
# - uses: actions/upload-artifact@v3 | |
# with: | |
# name: pinenote_kernel_module_dtb_v6.2 | |
# path: /home/runner/work/_temp/_github_home/pack_v6.2/ | |
# - uses: actions/upload-artifact@v3 | |
# with: | |
# name: pinenote_kernel_module_dtb_v6.3 | |
# path: /home/runner/work/_temp/_github_home/pack_v6.3/ | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: pinenote_kernel_module_dtb_v6.6 | |
path: /home/runner/work/_temp/_github_home/pack_v6.6/ | |
do_release: | |
runs-on: ubuntu-latest | |
needs: | |
- compile_kernel | |
steps: | |
- name: Clone workflow repository | |
uses: actions/checkout@v3 | |
- name: Download image artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
path: artifacts/ | |
- name: Make release | |
uses: softprops/[email protected] | |
with: | |
draft: true | |
files: | | |
# artifacts/pinenote_kernel_module_dtb_v6.3/*.deb | |
# artifacts/pinenote_kernel_module_dtb_v6.3/linux-upstream* | |
artifacts/pinenote_kernel_module_dtb_v6.6/*.deb | |
artifacts/pinenote_kernel_module_dtb_v6.6/linux-upstream* |