Skip to content

The only downloader you need. 下载器的集大成者。

fix(ci): purge jsDelivr cache after updating versions.json and packs

XiaoYouChRa6ab1c17f5cd
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 57ec99f3..4d6e784d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -704,6 +704,12 @@ jobs:
git diff --staged --quiet || git commit -m "chore: update versions.json for v${VERSION} [skip ci]"
git push
+ - name: Purge jsDelivr cache
+ run: |
+ for f in versions.json dist/packs/*.zip; do
+ curl -s "https://purge.jsdelivr.net/gh/XiaoYouChR/Ghost-Downloader-3@main/${f}" || true
+ done
+
- name: Push to GitCode
continue-on-error: true
env: