ci(workflow): 修复 Windows 工作流中稀疏检出配置问题
Some checks failed
Build Windows / ACT Windows Checkout Verification (push) Failing after 7h0m6s
Build Android APK / 编译 libcore.aar (push) Failing after 8s
Build Android APK / 编译 Android APK (release) (push) Has been skipped
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Failing after 7s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Failing after 10s
Build Windows / build (push) Has been skipped
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (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 / 构建 Windows (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
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Some checks failed
Build Windows / ACT Windows Checkout Verification (push) Failing after 7h0m6s
Build Android APK / 编译 libcore.aar (push) Failing after 8s
Build Android APK / 编译 Android APK (release) (push) Has been skipped
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Failing after 7s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Failing after 10s
Build Windows / build (push) Has been skipped
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (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 / 构建 Windows (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
Build Multi-Platform / 构建 iOS (push) Has been cancelled
调整稀疏检出配置以解决 Windows 无法签出包含 '*' 的文件名的问题
This commit is contained in:
parent
7e19e2cdb8
commit
dce32e706b
9
.github/workflows/build-windows.yml
vendored
9
.github/workflows/build-windows.yml
vendored
@ -25,6 +25,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
# Windows 无法签出包含 '*' 的文件名,使用稀疏检出排除该路径
|
||||||
|
sparse-checkout: |
|
||||||
|
/
|
||||||
|
/**
|
||||||
|
!assets/images/logo-1024*024.png
|
||||||
|
sparse-checkout-cone: false
|
||||||
|
|
||||||
- name: 🔧 设置 Go 环境
|
- name: 🔧 设置 Go 环境
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
@ -239,7 +245,8 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
/*
|
/
|
||||||
|
/**
|
||||||
!assets/images/logo-1024*024.png
|
!assets/images/logo-1024*024.png
|
||||||
sparse-checkout-cone: false
|
sparse-checkout-cone: false
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user