Skip to content

Commit

Permalink
ci: Fix plonk artifacts workflow (#192)
Browse files Browse the repository at this point in the history
* ci: Fix `plonk-artifacts`

* Fix typo

* Prep for review
  • Loading branch information
samuelburnham authored Oct 25, 2024
1 parent c61f92e commit 1650846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/plonk-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand All @@ -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: |
Expand Down

0 comments on commit 1650846

Please sign in to comment.