Skip to content

Commit c2aa1a9

Browse files
committed
update to github workflows
1 parent f69eccb commit c2aa1a9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build_and_publish_all_images.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
branches:
1010
- master
1111
paths:
12-
- ".github/**"
12+
- ".github/workflows/build_and_publish_all_images.yaml"
13+
- ".github/actions/build_and_publish_image/action.yaml"
1314
workflow_dispatch:
1415

1516
jobs:

.github/workflows/build_and_publish_changed_images.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
# Note: When modifying this job, copy modifications to all other workflows' image jobs.
2121
changed_component_images:
2222
runs-on: ubuntu-latest
23+
outputs:
24+
any_changed: steps.check.outputs.any_changed
25+
any_deleted: steps.check.outputs.any_deleted
2326
strategy:
2427
matrix:
2528
include:
@@ -87,6 +90,7 @@ jobs:
8790
# Note: When modifying this job, copy modifications to all other workflows' image jobs.
8891
changed_example_images:
8992
needs: changed_component_images
93+
if: needs.changed_component_images.outputs.any_changed == 'true' || needs.changed_component_images.outputs.any_deleted == 'true'
9094
runs-on: ubuntu-latest
9195
strategy:
9296
matrix:

0 commit comments

Comments
 (0)