fix: gate on latest.json version; pin script fetch to GITHUB_SHA

This commit is contained in:
2026-08-17 01:02:21 +08:00
parent 97e5ae50b5
commit 5e9ac59c59
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ jobs:
steps:
- name: Download publish scripts
run: |
BASE=https://raw.githubusercontent.com/TommyFang2077/dsh-easy-desktop/main
BASE=https://raw.githubusercontent.com/TommyFang2077/dsh-easy-desktop/$GITHUB_SHA
curl -fsSL -o build-gitea-update.py "$BASE/scripts/build-gitea-update.py"
curl -fsSL -o publish-gitea-release.sh "$BASE/scripts/publish-gitea-release.sh"
curl -fsSL -o publish-gitea-actions.sh "$BASE/scripts/publish-gitea-actions.sh"