From bd3d567001dfbfc3a1f1aa00a0366b0857a5d968 Mon Sep 17 00:00:00 2001 From: Mark Feit Date: Fri, 8 Mar 2024 19:51:04 +0000 Subject: [PATCH] Try uniquely naming the artifact. #1410 --- .github/workflows/testbed.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testbed.yml b/.github/workflows/testbed.yml index 7533987bc..609dcc3e4 100644 --- a/.github/workflows/testbed.yml +++ b/.github/workflows/testbed.yml @@ -9,7 +9,11 @@ name: testbed on: push: branches: + # TODO: Remove this after development - 'issue-1410' + - 'master' + - 'main' + - '[0-9]+.[0-9]+.[0-9]+' paths: - '.github/workflows/testbed.yml' - 'testbed/**/*' @@ -30,12 +34,15 @@ jobs: uses: actions/checkout@v4 - name: Build the testbed configuration - run: make -C testbed + run: | + set -e + make -C testbed + cp testbed/testbed.json testbed/testbed-${{ github.ref }}.json - name: Publish the result uses: actions/upload-artifact@v4 with: name: development-testbed - path: testbed/testbed.json + path: testbed/testbed-${{ github.ref }}.json if-no-files-found: error overwrite: true