Skip to content

Commit

Permalink
CI: Use matrix.os instead of runner.os in artifact name (#3797)
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

---------

Co-authored-by: Dongdong Tian <[email protected]>
  • Loading branch information
weiji14 and seisman authored Feb 10, 2025
1 parent b46274b commit 21a2ae5
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-${{ matrix.os }}-GMT-${{ matrix.gmt_git_ref }}
path: tmp-test-dir-with-unique-name

0 comments on commit 21a2ae5

Please sign in to comment.