ci(workflow): 优化 Windows 构建工作流的稀疏检出配置
Some checks failed
Build Windows / build (push) Failing after 7h0m16s
Build Android APK / 编译 libcore.aar (push) Failing after 9s
Build Android APK / 编译 Android APK (release) (push) Has been skipped
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Failing after 7s
Build Windows / ACT Windows Checkout Verification (push) Failing after 7h0m6s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 20m17s
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Some checks failed
Build Windows / build (push) Failing after 7h0m16s
Build Android APK / 编译 libcore.aar (push) Failing after 9s
Build Android APK / 编译 Android APK (release) (push) Has been skipped
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Failing after 7s
Build Windows / ACT Windows Checkout Verification (push) Failing after 7h0m6s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 20m17s
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
移除不必要的稀疏检出规则,并针对本地 act 验证优化目录级稀疏检出配置
This commit is contained in:
parent
dce32e706b
commit
5e84fea7d0
21
.github/workflows/build-windows.yml
vendored
21
.github/workflows/build-windows.yml
vendored
@ -25,12 +25,6 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
# Windows 无法签出包含 '*' 的文件名,使用稀疏检出排除该路径
|
||||
sparse-checkout: |
|
||||
/
|
||||
/**
|
||||
!assets/images/logo-1024*024.png
|
||||
sparse-checkout-cone: false
|
||||
|
||||
- name: 🔧 设置 Go 环境
|
||||
uses: actions/setup-go@v5
|
||||
@ -244,11 +238,18 @@ jobs:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
# 仅用于本地 act 验证:目录级稀疏检出,避免包含 Windows 非法文件
|
||||
sparse-checkout: |
|
||||
/
|
||||
/**
|
||||
!assets/images/logo-1024*024.png
|
||||
sparse-checkout-cone: false
|
||||
.github
|
||||
lib
|
||||
libcore
|
||||
android
|
||||
ios
|
||||
windows
|
||||
assets/core
|
||||
assets/fonts
|
||||
assets/translations
|
||||
sparse-checkout-cone: true
|
||||
|
||||
- name: Verify submodules
|
||||
shell: powershell
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user