Skip to content

Commit ca6d0b6

Browse files
committed
Switch to (up|down)load-artifact@v4
1 parent ea7595b commit ca6d0b6

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
3333
python -Im tox
3434
35-
- name: "Upload coverage data"
36-
uses: "actions/upload-artifact@v3"
35+
- name: Upload coverage data
36+
uses: actions/upload-artifact@v4
3737
with:
38-
name: "coverage-data"
39-
path: ".coverage.*"
40-
if-no-files-found: "ignore"
38+
name: coverage-data-${{ matrix.python-version }}
39+
path: .coverage.*
40+
if-no-files-found: ignore
4141

4242
coverage:
4343
name: "Combine & check coverage."
@@ -54,9 +54,11 @@ jobs:
5454

5555
- run: "python -Im pip install --upgrade coverage[toml]"
5656

57-
- uses: "actions/download-artifact@v3"
57+
- name: Download coverage data
58+
uses: actions/download-artifact@v4
5859
with:
59-
name: "coverage-data"
60+
pattern: coverage-data-*
61+
merge-multiple: true
6062

6163
- name: "Combine coverage"
6264
run: |
@@ -74,7 +76,7 @@ jobs:
7476
python -Im coverage report --fail-under=99
7577
7678
- name: "Upload HTML report."
77-
uses: "actions/upload-artifact@v3"
79+
uses: "actions/upload-artifact@v4"
7880
with:
7981
name: "html-report"
8082
path: "htmlcov"

0 commit comments

Comments
 (0)