From 998c3329908557f10d8e291dd5a7e82759e14f47 Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:21:48 -0400 Subject: [PATCH] ci: Fix `plonk-artifacts` --- .github/workflows/plonk-artifacts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/plonk-artifacts.yml b/.github/workflows/plonk-artifacts.yml index 9aaa2fd8a..fc08df603 100644 --- a/.github/workflows/plonk-artifacts.yml +++ b/.github/workflows/plonk-artifacts.yml @@ -5,7 +5,7 @@ name: Update Plonk artifacts in S3 on: push: - branches: dev + branches: [dev, ci-plonk-artifacts] workflow_dispatch: inputs: version: @@ -61,7 +61,7 @@ jobs: # On push, only create new parameters if `SPHINX_CIRCUIT_VERSION.tar.gz` doesn't exist in S3 if [[ "${{ github.event_name }}" == "push" ]]; then - FILE=$(aws s3 ls "s3://${BUCKET_NAME}/${VERSION}.tar.gz") + FILE=$(aws s3 ls "s3://${BUCKET_NAME}/${VERSION}.tar.gz" || true) if [[ -n "$FILE" ]]; then echo "File ${VERSION}.tar.gz already exists in $BUCKET_NAME, exiting..."