File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 26
26
R2_URL : ${{ vars.CF_R2_S3_API }}
27
27
R2_PUBLIC_URL : " https://element-web-develop.element.io"
28
28
steps :
29
- # Workaround for https://www.cloudflarestatus.com/incidents/t5nrjmpxc1cj
30
- - uses : unfor19/install-aws-cli-action@v1
31
- with :
32
- version : 2.22.35
33
- verbose : false
34
- arch : amd64
35
29
- uses : actions/checkout@v4
36
30
37
31
- uses : actions/setup-node@v4
@@ -115,10 +109,11 @@ jobs:
115
109
# We keep the latest develop.tar.gz on R2 instead of relying on the github artifact uploaded earlier
116
110
# as the expires after 24h and requires auth to download.
117
111
# Element Desktop's fetch script uses this tarball to fetch latest develop to build Nightlies.
112
+ # Checksum algorithm specified as per https://developers.cloudflare.com/r2/examples/aws/aws-cli/
118
113
- name : Deploy to R2
119
114
run : |
120
- aws s3 cp dist/develop.tar.gz s3://$R2_BUCKET/develop.tar.gz --endpoint-url $R2_URL --region=auto
121
- aws s3 cp _deploy/ s3://$R2_BUCKET/ --recursive --endpoint-url $R2_URL --region=auto
115
+ aws s3 cp dist/develop.tar.gz s3://$R2_BUCKET/develop.tar.gz --endpoint-url $R2_URL --region=auto --checksum-algorithm CRC32
116
+ aws s3 cp _deploy/ s3://$R2_BUCKET/ --recursive --endpoint-url $R2_URL --region=auto --checksum-algorithm CRC32
122
117
env :
123
118
AWS_ACCESS_KEY_ID : ${{ secrets.CF_R2_ACCESS_KEY_ID }}
124
119
AWS_SECRET_ACCESS_KEY : ${{ secrets.CF_R2_TOKEN }}
You can’t perform that action at this time.
0 commit comments