feat: use jsdelivr as version cache

This commit is contained in:
shinya
2025-08-06 02:36:49 +08:00
parent 44424564fc
commit a33000efac
4 changed files with 17 additions and 4 deletions

View File

@@ -149,3 +149,16 @@ jobs:
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 2
version-cache-refresh:
runs-on: ubuntu-latest
needs:
- cleanup
if: always() && github.event_name != 'pull_request'
steps:
- name: Refresh VERSION.txt cache
run: |
echo "Refreshing VERSION.txt cache..."
curl -s https://purge.jsdelivr.net/gh/senshinya/moontv/VERSION.txt
echo ""
echo "VERSION.txt cache refreshed successfully"