Merge pull request #965 from trheyi/main

chore: Update S3 copy command in build-linux workflow to disable chec…
This commit is contained in:
Max 2025-05-18 18:45:44 +08:00 committed by GitHub
commit fb49ca41cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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