diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3feb300..b4be8205 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,4 +32,9 @@ jobs: - name: Upload to S3 bucket if: github.event_name == 'push' run: | - aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://vectorized-public/dependencies/omb/omb_minimal_${{ github.sha }}.tar.gz + aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://vectorized-public/dependencies/omb/omb_minimal_${{ github.sha }}.tar.gz --acl public-read + + - name: Upload to S3 bucket (dry-run) + if: github.event_name != 'push' + run: | + aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://vectorized-public/dependencies/omb/omb_minimal_${{ github.sha }}.tar.gz --acl public-read --dryrun