Skip to content

Commit 58b46a9

Browse files
committed
CI: Use matrix.os instead of runner.os in artifact name
Fixes error `Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run` on the ubuntu-24.04-arm job. Patches #3778
1 parent b46274b commit 58b46a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci_tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
uses: actions/[email protected]
178178
if: failure()
179179
with:
180-
name: artifact-${{ runner.os }}-${{ matrix.python-version }}
180+
name: artifact-${{ matrix.os }}-${{ matrix.python-version }}
181181
path: tmp-test-dir-with-unique-name
182182

183183
# Upload coverage to Codecov

.github/workflows/ci_tests_dev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,5 @@ jobs:
185185
uses: actions/[email protected]
186186
if: ${{ failure() }}
187187
with:
188-
name: artifact-GMT-${{ matrix.gmt_git_ref }}-${{ runner.os }}
188+
name: artifact-GMT-${{ matrix.gmt_git_ref }}-${{ matrix.os }}
189189
path: tmp-test-dir-with-unique-name

0 commit comments

Comments
 (0)