mirror of
https://github.com/miskcoo/ugreen_dx4600_leds_controller.git
synced 2025-07-23 04:13:04 +02:00
add github actions for building TrueNAS driver
This commit is contained in:
25
.github/workflows/build-truenas.yml
vendored
Normal file
25
.github/workflows/build-truenas.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Build kernel module for TrueNAS
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- gh-actions
|
||||
|
||||
jobs:
|
||||
build-and-run:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build the kernel modules
|
||||
working-directory: build-scripts/truenas
|
||||
run: bash build-all.sh
|
||||
|
||||
# - name: Push results to GitHub
|
||||
# uses: stefanzweifel/git-auto-commit-action@v4
|
||||
# with:
|
||||
# commit_message: "Add output from script"
|
||||
# branch: main
|
||||
# file_pattern: output.txt
|
Reference in New Issue
Block a user