From 1650846a1d6d3da64b3ee0817bb8079847530ee4 Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Fri, 25 Oct 2024 12:56:28 -0400 Subject: [PATCH] ci: Fix plonk artifacts workflow (#192) * ci: Fix `plonk-artifacts` * Fix typo * Prep for review --- .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..24130b529 100644 --- a/.github/workflows/plonk-artifacts.yml +++ b/.github/workflows/plonk-artifacts.yml @@ -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..." @@ -79,7 +79,7 @@ jobs: fi echo "VERSION=$VERSION" | tee -a $GITHUB_ENV - echo "needs-update=NEEDS_UPDATE" | tee -a $GITHUB_OUTPUT + echo "needs-update=$NEEDS_UPDATE" | tee -a $GITHUB_OUTPUT - name: Generate Plonk artifacts if: ${{ steps.check-s3.outputs.needs-update == 'true' }} run: |