Skip to content

Commit 0224463

Browse files
committed
ci: apply pattern when downloading artifacts
Do not download all host bundles, download just those we need using the pattern option of the action. Signed-off-by: Anas Nashif <[email protected]>
1 parent 352bde0 commit 0224463

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,13 +1152,17 @@ jobs:
11521152
path: repository
11531153
persist-credentials: false
11541154

1155+
- name: Download Version
1156+
uses: actions/download-artifact@v4
1157+
with:
1158+
path: artifacts
1159+
pattern: version
1160+
11551161
- name: Download artifacts
11561162
uses: actions/download-artifact@v4
11571163
with:
1158-
# NOTE: This downloads all build artifacts, including the toolchains and host tools for
1159-
# the irrelevant hosts, because the download-artifact action does not support
1160-
# specifying wildcards in the artifact name.
11611164
path: artifacts
1165+
pattern: "*_${{ matrix.host.name }}*"
11621166

11631167
- name: Create distribution bundle
11641168
run: |

0 commit comments

Comments
 (0)