From aaf93f0240617de5729bdc2eccdfe2c8f505694f Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 18 May 2025 18:45:07 +0800 Subject: [PATCH] chore: Update S3 copy command in build-linux workflow to disable checksums - Modified the S3 copy command in the build-linux.yml workflow to set AWS_S3_DISABLE_CHECKSUMS to true, improving upload performance and consistency. --- .github/workflows/build-linux.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 185486b7..aa4fa626 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -26,6 +26,7 @@ jobs: aws configure set default.region us-east-1 # Update with your R2 region if different aws configure set default.s3.signature_version s3v4 aws configure set default.s3.endpoint_url https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com + aws version - name: Build run: | @@ -43,5 +44,5 @@ jobs: - name: Push To R2 Cloudflare run: | for file in /data/*; do - aws s3 cp $file s3://$R2_BUCKET/archives/ --endpoint-url https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com + AWS_S3_DISABLE_CHECKSUMS=true aws s3 cp $file s3://$R2_BUCKET/archives/ --endpoint-url https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com done