Skip to content

Commit 3d55499

Browse files
committed
Update upload artifact
1 parent 102032d commit 3d55499

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/testing-linux.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,16 @@ jobs:
7474
mv build/coverage.info build/coverage-Linux-${{ matrix.use_mpi }}-${{ matrix.use_openmp }}-${{ matrix.use_smm }}-cpu.info
7575
7676
- name: Upload coverage data
77-
uses: actions/upload-artifact@v3
77+
uses: actions/upload-artifact@v4
7878
with:
79-
name: coverage-data
79+
name: coverage-data-${{ matrix.use_mpi }}-${{ matrix.use_openmp }}-${{ matrix.use_smm }}-${{ matrix.mpi_suffix }}
8080
path: build/coverage-*.info
8181

8282
- name: Upload coverage data (generated files)
83-
uses: actions/upload-artifact@v3
83+
uses: actions/upload-artifact@v4
8484
if: matrix.use_mpi == 'MPI=ON' && matrix.use_openmp == 'OPENMP=ON' && matrix.use_smm == 'SMM=blas' && matrix.mpi_suffix == 'openmpi'
8585
with:
86-
name: coverage-data
86+
name: coverage-data-${{ matrix.use_mpi }}-${{ matrix.use_openmp }}-${{ matrix.use_smm }}-${{ matrix.mpi_suffix }}-generated-files
8787
path: |
8888
build/src/dbcsr.h
8989
build/src/tensors/dbcsr_tensor.h
@@ -202,7 +202,8 @@ jobs:
202202
- name: Download coverage data
203203
uses: actions/[email protected]
204204
with:
205-
name: coverage-data
205+
pattern: coverage-data-*
206+
merge-multiple: true
206207

207208
- name: Combine coverage
208209
run: |
@@ -213,7 +214,7 @@ jobs:
213214
lcov --summary merged.info
214215
215216
- name: Upload merged HTML report
216-
uses: actions/upload-artifact@v3
217+
uses: actions/upload-artifact@v4
217218
with:
218219
name: html-report
219220
path: htmlcov

0 commit comments

Comments
 (0)