mirror of
https://github.com/miskcoo/ugreen_dx4600_leds_controller.git
synced 2025-07-23 04:13:04 +02:00
26 lines
569 B
YAML
26 lines
569 B
YAML
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@v4
|
|
|
|
- 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@v5
|
|
with:
|
|
commit_message: "Add compiled modules"
|
|
branch: gh-actions
|
|
file_pattern: 'build-scripts/truenas/build/*/*/led-ugreen.ko'
|