diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 04ac37bfbcd8..24f28a34ade3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -350,3 +350,17 @@ jobs: with: name: Libraries path: Libraries.tar.gz + + - name: Upload Libraries to WhiskyBucket + env: + RCLONE_CONFIG_R2_TYPE: s3 + RCLONE_CONFIG_R2_PROVIDER: Cloudflare + RCLONE_CONFIG_R2_ENV_AUTH: true + RCLONE_CONFIG_R2_ACCESS_KEY_ID: ${{ secrets.RCLONE_ACCESS_KEY_ID }} + RCLONE_CONFIG_R2_SECRET_ACCESS_KEY: ${{ secrets.RCLONE_SECRET_ACCESS_KEY }} + RCLONE_CONFIG_R2_ENDPOINT: ${{ secrets.RCLONE_ENDPOINT }} + run: | + brew install rclone + zip Libraries.zip Libraries.tar.gz + rclone copy Libraries.zip r2:whisky-bucket/Wine + rclone copy GPTKVersion.plist r2:whisky-bucket/Wine