File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 44
44
45
45
# echo "✅ macOS build uploaded!"
46
46
47
- - name : Upload macOS build to Cloudflare R2
47
+ - name : Upload macOS build to Cloudflare R2 (using put-object)
48
48
env :
49
49
R2_ACCOUNT_ID : ${{ secrets.R2_ACCOUNT_ID }}
50
50
R2_BUCKET_NAME : ${{ secrets.R2_BUCKET_NAME }}
@@ -54,15 +54,16 @@ jobs:
54
54
aws configure set aws_secret_access_key ${{ secrets.R2_SECRET_ACCESS_KEY }}
55
55
aws configure set default.region auto
56
56
57
- # Force a single-part upload by setting the multipart threshold very high
58
- export AWS_S3_MULTIPART_THRESHOLD=100GB
59
-
60
- aws s3 cp --endpoint-url=https://${{ secrets.R2_ACCOUNT_ID }}.r2.cloudflarestorage.com \
61
- build/macos/Build/Products/Release/Socket_Probe.zip \
62
- s3 ://${{ secrets.R2_BUCKET_NAME }}/macos/Socket_Probe.zip --acl public-read
57
+ aws s3api put-object \
58
+ --bucket "${{ secrets.R2_BUCKET_NAME }}" \
59
+ --key "macos/Socket_Probe.zip" \
60
+ --body "build/macos/Build/Products/Release/Socket_Probe.zip" \
61
+ --acl public-read \
62
+ --endpoint-url "https ://${{ secrets.R2_ACCOUNT_ID }}.r2.cloudflarestorage.com"
63
63
64
64
echo "✅ macOS build uploaded!"
65
65
66
+
66
67
build-windows :
67
68
runs-on : windows-latest # ✅ Use Windows runner for Windows builds
68
69
You can’t perform that action at this time.
0 commit comments