Skip to content

Commit

Permalink
CI: Use matrix.os instead of runner.os in artifact name
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weiji14 committed Feb 10, 2025
1 parent b46274b commit 58b46a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
uses: actions/[email protected]
if: failure()
with:
name: artifact-${{ runner.os }}-${{ matrix.python-version }}
name: artifact-${{ matrix.os }}-${{ matrix.python-version }}
path: tmp-test-dir-with-unique-name

# Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,5 @@ jobs:
uses: actions/[email protected]
if: ${{ failure() }}
with:
name: artifact-GMT-${{ matrix.gmt_git_ref }}-${{ runner.os }}
name: artifact-GMT-${{ matrix.gmt_git_ref }}-${{ matrix.os }}
path: tmp-test-dir-with-unique-name

0 comments on commit 58b46a9

Please sign in to comment.