From 58b46a95af4c5aaa0a31287d5990b4e02b260e1f Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 10 Feb 2025 14:17:56 +1300 Subject: [PATCH 1/2] 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 --- .github/workflows/ci_tests.yaml | 2 +- .github/workflows/ci_tests_dev.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 57ba8f7e374..c1f5ca24165 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -177,7 +177,7 @@ jobs: uses: actions/upload-artifact@v4.6.0 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 diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 27ed1200c26..4f143e0c3a7 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -185,5 +185,5 @@ jobs: uses: actions/upload-artifact@v4.6.0 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 From 6722b07b8e191f1f7f5d2892f47798f1d7739780 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 10 Feb 2025 14:30:27 +1300 Subject: [PATCH 2/2] Update .github/workflows/ci_tests_dev.yaml Co-authored-by: Dongdong Tian --- .github/workflows/ci_tests_dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 4f143e0c3a7..2f10012ea13 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -185,5 +185,5 @@ jobs: uses: actions/upload-artifact@v4.6.0 if: ${{ failure() }} with: - name: artifact-GMT-${{ matrix.gmt_git_ref }}-${{ matrix.os }} + name: artifact-${{ matrix.os }}-GMT-${{ matrix.gmt_git_ref }} path: tmp-test-dir-with-unique-name