From fc879401b021796462c2925fd2a696d94ca2a7a0 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Mon, 2 Jun 2025 12:03:29 -0400 Subject: [PATCH] Give build-nvidia a different name, bluebuild-nvidia, and restricted to only on changes to certain paths and when workflow buildbuild has been completed --- .github/workflows/build-nvidia.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-nvidia.yml b/.github/workflows/build-nvidia.yml index 9523d44..ed6281c 100644 --- a/.github/workflows/build-nvidia.yml +++ b/.github/workflows/build-nvidia.yml @@ -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 }}