From eb65864e76bd34c6ec3df2a263be86f92aed6f8d Mon Sep 17 00:00:00 2001 From: Keith Battocchi Date: Tue, 7 May 2024 02:14:37 -0400 Subject: [PATCH] Work around merge failures in subsequent CI attempts Signed-off-by: Keith Battocchi --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e02aa507..d36a5293f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -338,7 +338,11 @@ jobs: name: ${{ matrix.artifact }} pattern: "${{ matrix.artifact }}-*" delete-merged: true - + # if we are re-running a job in a subsequent attempt, some of the other artifacts may not exist in this attempt (e.g. notebooks, if only non-notebook tests failed) + # Unlike with plain upload-artifact, there's no way to ignore the situation where no files are found when using the v4 merge action + # (see https://github.com/actions/upload-artifact/issues/520), so just continue on error isntead + continue-on-error: true + build: name: Build package needs: [eval]