Skip to content

Commit

Permalink
ci: Fix plonk-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Oct 24, 2024
1 parent c61f92e commit 998c332
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 @@ -5,7 +5,7 @@ name: Update Plonk artifacts in S3

on:
push:
branches: dev
branches: [dev, ci-plonk-artifacts]
workflow_dispatch:
inputs:
version:
Expand Down 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 Down

0 comments on commit 998c332

Please sign in to comment.