@@ -139,6 +139,7 @@ jobs:
139139 aws s3 sync \
140140 dist/appstore-publish/appstore/${{ steps.resolve_channel.outputs.channel }}/catalog \
141141 s3://artifact/appstore/${{ steps.resolve_channel.outputs.channel }}/catalog \
142+ --cache-control "public, max-age=60" \
142143 --endpoint-url "$AWS_ENDPOINT_URL"
143144
144145 - name : Upload v2 library metadata to Cloudflare R2
@@ -151,6 +152,7 @@ jobs:
151152 dist/appstore-publish/appstore/${{ steps.resolve_channel.outputs.channel }}/library \
152153 s3://artifact/appstore/${{ steps.resolve_channel.outputs.channel }}/library \
153154 --exclude "apps/*" \
155+ --cache-control "public, max-age=60" \
154156 --endpoint-url "$AWS_ENDPOINT_URL"
155157
156158 - name : Upload v2 per-app packages to Cloudflare R2 (additive only)
@@ -163,6 +165,7 @@ jobs:
163165 aws s3 cp --recursive \
164166 dist/appstore-publish/appstore/${{ steps.resolve_channel.outputs.channel }}/library/apps \
165167 s3://artifact/appstore/${{ steps.resolve_channel.outputs.channel }}/library/apps \
168+ --cache-control "public, max-age=60" \
166169 --endpoint-url "$AWS_ENDPOINT_URL"
167170 fi
168171
@@ -175,6 +178,7 @@ jobs:
175178 aws s3 sync \
176179 dist/appstore-publish/appstore/${{ steps.resolve_channel.outputs.channel }}/manifests \
177180 s3://artifact/appstore/${{ steps.resolve_channel.outputs.channel }}/manifests \
181+ --cache-control "public, max-age=60" \
178182 --endpoint-url "$AWS_ENDPOINT_URL"
179183
180184 # ── legacy uploads (old R2 paths, kept for backward compatibility) ──
@@ -207,7 +211,7 @@ jobs:
207211 if [[ "${{ steps.resolve_channel.outputs.channel }}" == "dev" ]]; then
208212 echo "urls=[\"https://artifact.websoft9.com/dev/websoft9/plugin/library/library-dev.zip\",\"https://artifact.websoft9.com/dev/websoft9/plugin/media/media-dev.zip\"]" >> "$GITHUB_OUTPUT"
209213 else
210- echo "urls=[\"https://artifact.websoft9.com/release/websoft9/plugin/library/library-latest.zip\",\"https://artifact.websoft9.com/release/websoft9/plugin/media/media.zip\"]" >> "$GITHUB_OUTPUT"
214+ echo "urls=[\"https://artifact.websoft9.com/release/websoft9/plugin/library/library-latest.zip\",\"https://artifact.websoft9.com/release/websoft9/plugin/media/media-latest .zip\"]" >> "$GITHUB_OUTPUT"
211215 fi
212216
213217 - name : Purge legacy Cloudflare Cache
0 commit comments