Skip to content

Commit a6e7552

Browse files
committed
Update version of upload-artifact from v2 to v4
1 parent ac2c638 commit a6e7552

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ jobs:
5757
TOXENV: python${{ matrix.python }}-django${{ matrix.django }}-wagtail${{ matrix.wagtail }}
5858

5959
- name: Store test coverage
60-
uses: actions/upload-artifact@v2
60+
uses: actions/upload-artifact@v4
6161
with:
62-
name: coverage
62+
name: coverage-py${{ matrix.python }}-dj${{ matrix.django }}-wag${{ matrix.wagtail }}
6363
path: .coverage.*
64+
include-hidden-files: true
6465

6566
coverage:
6667
name: coverage
@@ -82,10 +83,12 @@ jobs:
8283
run: |
8384
python -m pip install --upgrade pip
8485
pip install tox
86+
8587
- name: Retrieve test coverage
86-
uses: actions/download-artifact@v2
88+
uses: actions/download-artifact@v4
8789
with:
88-
name: coverage
90+
pattern: coverage-*
91+
merge-multiple: true
8992

9093
- name: Check coverage
9194
run: tox -e coverage

0 commit comments

Comments
 (0)