Skip to content

Commit d40f88c

Browse files
authored
ci: fix publish binary to R2 (#17456)
1 parent 3901aa6 commit d40f88c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/actions/publish_binary/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ runs:
4646
shell: bash
4747
if: inputs.category == 'default'
4848
run: |
49-
aws s3 cp ${{ steps.name.outputs.name }}.tar.gz s3://repo/databend/${{ inputs.version }}/${{ steps.name.outputs.name }}.tar.gz --no-progress
49+
aws s3 cp ${{ steps.name.outputs.name }}.tar.gz s3://repo/databend/${{ inputs.version }}/${{ steps.name.outputs.name }}.tar.gz --no-progress --checksum-algorithm=CRC32
5050
if [ -f ${{ steps.name.outputs.name }}-dbg.tar.gz ]; then
51-
aws s3 cp ${{ steps.name.outputs.name }}-dbg.tar.gz s3://repo/databend/${{ inputs.version }}/${{ steps.name.outputs.name }}-dbg.tar.gz --no-progress
51+
aws s3 cp ${{ steps.name.outputs.name }}-dbg.tar.gz s3://repo/databend/${{ inputs.version }}/${{ steps.name.outputs.name }}-dbg.tar.gz --no-progress --checksum-algorithm=CRC32
5252
fi
5353
gh api /repos/databendlabs/databend/tags > tags.json
54-
aws s3 cp ./tags.json s3://repo/databend/tags.json
54+
aws s3 cp ./tags.json s3://repo/databend/tags.json --no-progress --checksum-algorithm=CRC32
5555
gh api /repos/databendlabs/databend/releases > releases.json
56-
aws s3 cp ./releases.json s3://repo/databend/releases.json
56+
aws s3 cp ./releases.json s3://repo/databend/releases.json --no-progress --checksum-algorithm=CRC32

.github/actions/publish_deb/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ runs:
5252
shell: bash
5353
working-directory: scripts/distribution/deb
5454
run: |
55-
aws s3 sync --delete --no-progress dists s3://repo/deb/dists
56-
aws s3 sync --delete --no-progress pool s3://repo/deb/pool
55+
aws s3 sync dists s3://repo/deb/dists --delete --no-progress --checksum-algorithm=CRC32
56+
aws s3 sync pool s3://repo/deb/pool --delete --no-progress --checksum-algorithm=CRC32

0 commit comments

Comments
 (0)