Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/publish-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,18 @@ jobs:
--cache-control "public, max-age=31536000, immutable" \
artifacts/ \
s3://${R2_BUCKET}/github/$PROJECT/releases/download/$VERSION/
- name: "Upload latest installers to R2"
if: ${{ !fromJson(inputs.plan).announcement_is_prerelease }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.MIRROR_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.MIRROR_R2_SECRET_ACCESS_KEY }}
AWS_ENDPOINT_URL: https://${{ secrets.MIRROR_R2_CLOUDFLARE_ACCOUNT_ID }}.r2.cloudflarestorage.com
AWS_DEFAULT_REGION: auto
R2_BUCKET: ${{ secrets.MIRROR_R2_BUCKET_NAME }}
run: |
for installer in uv-installer.sh uv-installer.ps1; do
aws s3 cp --output table --color on \
--cache-control "public, max-age=300" \
"artifacts/${installer}" \
"s3://${R2_BUCKET}/installers/uv/latest/${installer}"
done
Loading