Files
ugreen_dx4600_leds_controller/.github/workflows/build-truenas.yml
2024-08-22 20:29:08 +08:00

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'