ci: 用预置 git-lfs,去掉每次 apt-get 安装
deploy-digital-me / deploy (push) Successful in 2m15s

This commit is contained in:
2026-10-10 16:42:54 +08:00
parent b9326632a0
commit 16831035b4
2 changed files with 4 additions and 4 deletions
+3 -2
View File
@@ -33,8 +33,9 @@ jobs:
- name: 只拉可能随代码变化的 LFS 产物
run: |
set -e
apt-get update -qq
apt-get install -y -qq git-lfs
# 用 runner 预置的 git-lfs(挂在 /ci-bin),免去每次 apt-get 安装
export PATH="/ci-bin:$PATH"
git lfs version
git lfs install
# 只拉 *.bundle.js 这类代码产物;图片/音频/字体不拉
git lfs pull --include='*.bundle.js' || true