Skip to content

Commit 3aef605

Browse files
committed
[build] Update actions/upload-artifact and actions/download-artifact to v4.
Signed-off-by: Michael Seifert <[email protected]>
1 parent 4b1908d commit 3aef605

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/main.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
id: version
5151
run: python ./tools/get-version.py >> $GITHUB_OUTPUT
5252
- name: Upload artifacts
53-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5454
with:
5555
name: dist
5656
path: dist
@@ -84,10 +84,10 @@ jobs:
8484
run: python -m tox
8585

8686
- name: Store coverage data
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8888
if: "!endsWith(matrix.os, 'windows')"
8989
with:
90-
name: coverage-per-interpreter
90+
name: coverage-python-${{ matrix.python-version }}
9191
path: .coverage.*
9292

9393
check:
@@ -109,9 +109,10 @@ jobs:
109109
set -xe
110110
python -m pip install --upgrade coverage[toml]
111111
- name: Download coverage data for all test runs
112-
uses: actions/download-artifact@v3
112+
uses: actions/download-artifact@v4
113113
with:
114-
name: coverage-per-interpreter
114+
pattern: coverage-*
115+
merge-multiple: true
115116
- name: Combine coverage data and create report
116117
run: |
117118
coverage combine
@@ -136,7 +137,7 @@ jobs:
136137
- name: Checkout
137138
uses: actions/checkout@v4
138139
- name: Download distributions
139-
uses: actions/download-artifact@v3
140+
uses: actions/download-artifact@v4
140141
with:
141142
name: dist
142143
path: dist

0 commit comments

Comments
 (0)