Skip to content

Commit

Permalink
Merge pull request #3 from dfinity/or-cfg-chgs
Browse files Browse the repository at this point in the history
trigger kernel rebuild on configuration changes
  • Loading branch information
rikonor authored Jul 31, 2024
2 parents e4b9263 + edebc19 commit 7b08e52
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7b08e52

Please sign in to comment.