Skip to content

Commit ea66993

Browse files
author
zhangfuwen
committed
ci: 修复 GitHub Actions 中上传构建产物的路径格式
修复了 `cmake-single-platform.yml` 文件中 `path` 字段的格式问题,确保构建产物 `kernel.iso` 和 `test.img` 能够正确上传
1 parent 2653b8e commit ea66993

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cmake-single-platform.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
uses: actions/[email protected]
4343
with:
4444
name: build-artifacts
45-
path:
46-
- ${{github.workspace}}/build/kernel.iso
47-
- ${{github.workspace}}/build/test.img
45+
path: |
46+
${{github.workspace}}/build/kernel.iso
47+
${{github.workspace}}/build/test.img
4848
if-no-files-found: error
4949
compression-level: 6
5050
overwrite: true

0 commit comments

Comments
 (0)