From 2247dbe58a7c28ba8c70610d7b1d6988c27f15f1 Mon Sep 17 00:00:00 2001 From: juewuy Date: Sun, 14 Dec 2025 09:14:21 +0800 Subject: [PATCH] =?UTF-8?q?~=E5=A2=9E=E5=8A=A0=E6=9B=B4=E6=96=B0=E5=90=8E?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=88=B7=E6=96=B0cdn=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E7=9A=84=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_singbox_core.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index a03ca48..120a9ed 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -220,6 +220,12 @@ jobs: git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]" git add . && git commit -m "更新${crashcore}内核至${VERSION}" || exit 0 git push + #刷新cdn缓存 + sleep 60 + find "bin/${crashcore}" -type f | while read -r file; do + curl -s "https://purge.jsdelivr.net/gh/juewuy/ShellClash@update/${file#bin/}" || true + done + curl -s https://purge.jsdelivr.net/gh/juewuy/ShellClash@update/bin/version || true - name: Create Release and Upload Release Asset if: ${{ env.RELEASE != '' && env.PUSHDIR == '' }}