This commit is contained in:
@@ -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
|
||||
|
||||
@@ -25,8 +25,7 @@ jobs:
|
||||
- name: 拉取全部 LFS 素材
|
||||
run: |
|
||||
set -e
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq git-lfs
|
||||
export PATH="/ci-bin:$PATH"
|
||||
git lfs install
|
||||
git lfs pull
|
||||
|
||||
|
||||
Reference in New Issue
Block a user