Give build-nvidia a different name, bluebuild-nvidia, and restricted to only on changes to certain paths and when workflow buildbuild has been completed
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 22s

This commit is contained in:
2025-06-02 12:03:29 -04:00
parent 94ac33a612
commit fc879401b0

View File

@@ -1,17 +1,17 @@
name: bluebuild
name: bluebuild-nvidia
on:
schedule:
- cron:
"00 06 * * *" # build at 06:00 UTC every day
# (20 minutes after last ublue images start building)
push:
branches:
- main
paths-ignore: # don't rebuild if only documentation has changed
- "**.md"
pull_request:
paths: # rebuild only if nvidia files have changed
- ".github/workflows/build-nvidia.yml"
- "files/scripts/nvidia/**"
- "recipes/components/nvidia-module.yml"
- "recipes/recipe_nvidia.yml"
workflow_dispatch: # allow manually triggering builds
workflow_run:
workflows: ["bluebuild"]
types: [completed]
concurrency:
# only run one build at a time
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}