Skip to content

Commit 30bcb90

Browse files
committed
fix(ci): build-apk checkout 启用 Git LFS——TWA 资源 PNG 为 LFS 文件,未拉取致 AAPT2 编译失败
1 parent 6a1d8b8 commit 30bcb90

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/mobile-release.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,11 @@ jobs:
158158
runs-on: ubuntu-latest
159159
timeout-minutes: 30
160160
steps:
161+
# lfs: true 必需:TWA 资源 PNG(ic_launcher/ic_notification_icon 等)
162+
# 由 Git LFS 托管,不拉取则为指针文件,AAPT2 资源编译失败
161163
- uses: actions/checkout@v4
164+
with:
165+
lfs: true
162166
- uses: actions/setup-java@v4
163167
with:
164168
distribution: temurin

0 commit comments

Comments
 (0)