From edebc1913ad6749c2a9d733102feabc1c76aa773 Mon Sep 17 00:00:00 2001 From: Or Ricon Date: Wed, 31 Jul 2024 18:26:47 +0000 Subject: [PATCH] trigger kernel rebuild on configuration changes --- .github/workflows/targets.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/targets.yml b/.github/workflows/targets.yml index 204203e..009eb3b 100644 --- a/.github/workflows/targets.yml +++ b/.github/workflows/targets.yml @@ -41,11 +41,23 @@ jobs: ovmf: ${{ steps.filter.outputs.ovmf }} qemu: ${{ steps.filter.outputs.qemu }} + kernel-config-changes: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - id: filter + uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 + with: + filters: | + config: cfg/.config + outputs: + config: ${{ steps.filter.outputs.config }} + kernel: runs-on: ubuntu-latest needs: [image-ref-changes, build-script-changes] - if: needs.image-ref-changes.outputs.kernel == 'true' || needs.build-script-changes.outputs.kernel == 'true' + if: needs.image-ref-changes.outputs.kernel == 'true' || needs.build-script-changes.outputs.kernel == 'true' || needs.kernel-config-changes.outputs.config == 'true' strategy: matrix: