Skip to content

Commit e408a6e

Browse files
authored
Run get_matrix before each job (#1826)
1 parent 2d7eeac commit e408a6e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/update-snapshot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
run: echo "::set-output name=matrix::{\"include\":[{\"flavor\":\"stable\"},{\"flavor\":\"beta\"}]}"
2929

3030
update_examples_snapshot:
31+
needs: get_matrix
3132
name: Update component examples snapshot by label
3233
# This job will only run if the comment was on a pull requests and matches the label
3334
if: ${{ github.event.label.name == 'ui change' || contains( github.event.pull_request.labels.*.name, 'ui change') || github.event_name == 'workflow_dispatch' }}
@@ -114,6 +115,7 @@ jobs:
114115
git push
115116
116117
update_bundle_snapshot:
118+
needs: get_matrix
117119
name: Update embed html bundle snapshot by label
118120
# This job will only run if the comment was on a pull requests and matches the label
119121
if: ${{ github.event.label.name == 'ui change' || contains( github.event.pull_request.labels.*.name, 'ui change') || github.event_name == 'workflow_dispatch' }}
@@ -200,6 +202,7 @@ jobs:
200202
git push
201203
202204
update_composite_snapshot:
205+
needs: get_matrix
203206
name: Update composite snapshot by label
204207
# This job will only run if the comment was on a pull requests and matches the label
205208
if: ${{ github.event.label.name == 'ui change' || contains( github.event.pull_request.labels.*.name, 'ui change') || github.event_name == 'workflow_dispatch' }}

0 commit comments

Comments
 (0)