ci: 重构构建流程以使用output目录存储产物
修改构建脚本和CI配置,将所有构建产物统一输出到output目录 更新.gitignore添加output目录忽略 调整CI工作流中的文件路径匹配规则
This commit is contained in:
1 parent
f341159f1a
commit
9ee472e5de
3 files changed
+42
-42
No files matched your search
@@ -53,15 +53,15 @@ jobs:
|
||||
|
||||
- name: 显示构建产物
|
||||
run: |
|
||||
ls -la
|
||||
find . -name "miao-directory*" -type f
|
||||
ls -la output || true
|
||||
find output -type f -name "miao-directory*" || true
|
||||
|
||||
- name: 上传构建产物
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: miao-directory-all
|
||||
path: |
|
||||
**/miao-directory*
|
||||
output/**
|
||||
|
||||
- name: 生成版本号
|
||||
id: version
|
||||
@@ -78,6 +78,6 @@ jobs:
|
||||
draft: false
|
||||
prerelease: false
|
||||
files: |
|
||||
**/miao-directory*
|
||||
output/**
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in new issue
Block a user