Skip to content

Commit ba3279e

Browse files
authored
Use Python version to make artifact name unique (1 line) (pyccel#1899)
The updated version of `upload-artifact` means that you cannot upload multiple artifacts with the same name. This is problematic on the `devel` branch as the same job is run for multiple Python versions. The easy fix for this is to add the version to the artifact name. Local tests show that the artifacts can still be retrieved with a partial name.
1 parent 20aab16 commit ba3279e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: Save code coverage report
103103
uses: actions/upload-artifact@v4
104104
with:
105-
name: coverage-artifact
105+
name: coverage-artifact-${{ matrix.python_version }}
106106
path: .coverage
107107
retention-days: 3
108108
- name: "Post completed"

0 commit comments

Comments
 (0)