Skip to content

Commit 872605a

Browse files
committed
Use pattern arg to download-artifact
1 parent 2353d2b commit 872605a

File tree

2 files changed

+7
-24
lines changed

2 files changed

+7
-24
lines changed

.github/workflows/pypi.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,10 @@ jobs:
6969

7070
- uses: actions/download-artifact@v4
7171
with:
72-
name: wheels-macos-12
72+
pattern: wheels-*
7373
path: dist
74+
merge-multiple: true
7475

75-
- uses: actions/download-artifact@v4
76-
with:
77-
name: wheels-windows-2022
78-
path: dist
79-
80-
- uses: actions/download-artifact@v4
81-
with:
82-
name: wheels-ubuntu-20.04
83-
path: dist
84-
8576
- name: Check SDist
8677
run: |
8778
mkdir -p test-sdist
@@ -108,18 +99,9 @@ jobs:
10899

109100
- uses: actions/download-artifact@v4
110101
with:
111-
name: wheels-macos-12
112-
path: dist
113-
114-
- uses: actions/download-artifact@v4
115-
with:
116-
name: wheels-windows-2022
117-
path: dist
118-
119-
- uses: actions/download-artifact@v4
120-
with:
121-
name: wheels-ubuntu-20.04
102+
pattern: wheels-*
122103
path: dist
104+
merge-multiple: true
123105

124106
- uses: pypa/[email protected]
125107
with:

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
- name: Upload coverage file
190190
uses: actions/upload-artifact@v4
191191
with:
192-
name: coverage
192+
name: coverage-${{ steps.matrix-id.outputs.id }}
193193
path: coverage/coverage-${{ steps.matrix-id.outputs.id }}.xml
194194

195195
benchmarks:
@@ -275,8 +275,9 @@ jobs:
275275
- name: Download coverage file
276276
uses: actions/download-artifact@v4
277277
with:
278-
name: coverage
278+
pattern: coverage-*
279279
path: coverage
280+
merge-multiple: true
280281

281282
- name: Upload coverage to Codecov
282283
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)