Skip to content

Commit 16a9b05

Browse files
committed
Update GitHub Actions upload/download artifacts to v4
The GitHub Actions workflow artifacts for uploading coverage data and documentation have been updated to v4. The coverage data now includes the Python matrix parameter in its name. Its download has been adjusted accordingly, now supports multiple entries merge and matches pattern 'coverage-data-*'.
1 parent 51bd0bf commit 16a9b05

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ jobs:
9797
9898
- name: Upload coverage data
9999
if: always() && matrix.session == 'tests'
100-
uses: "actions/upload-artifact@v3"
100+
uses: actions/upload-artifact@v4
101101
with:
102-
name: coverage-data
102+
name: coverage-data-${{ matrix.python }}
103103
path: ".coverage.*"
104104

105105
- name: Upload documentation
106106
if: matrix.session == 'docs-build'
107-
uses: actions/upload-artifact@v3
107+
uses: actions/upload-artifact@v4
108108
with:
109109
name: docs
110110
path: docs/_build
@@ -138,9 +138,10 @@ jobs:
138138
nox --version
139139
140140
- name: Download coverage data
141-
uses: actions/download-artifact@v3
141+
uses: actions/download-artifact@v4
142142
with:
143-
name: coverage-data
143+
pattern: coverage-data-*
144+
merge-multiple: true
144145

145146
- name: Combine coverage data and display human readable report
146147
run: |

0 commit comments

Comments
 (0)