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
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 22s
This commit is contained in:
18
.github/workflows/build-nvidia.yml
vendored
18
.github/workflows/build-nvidia.yml
vendored
@@ -1,17 +1,17 @@
|
|||||||
name: bluebuild
|
name: bluebuild-nvidia
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron:
|
|
||||||
"00 06 * * *" # build at 06:00 UTC every day
|
|
||||||
# (20 minutes after last ublue images start building)
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths-ignore: # don't rebuild if only documentation has changed
|
paths: # rebuild only if nvidia files have changed
|
||||||
- "**.md"
|
- ".github/workflows/build-nvidia.yml"
|
||||||
|
- "files/scripts/nvidia/**"
|
||||||
pull_request:
|
- "recipes/components/nvidia-module.yml"
|
||||||
|
- "recipes/recipe_nvidia.yml"
|
||||||
workflow_dispatch: # allow manually triggering builds
|
workflow_dispatch: # allow manually triggering builds
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["bluebuild"]
|
||||||
|
types: [completed]
|
||||||
concurrency:
|
concurrency:
|
||||||
# only run one build at a time
|
# only run one build at a time
|
||||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||||
|
Reference in New Issue
Block a user