1
This commit is contained in:
14
.github/workflows/logic_CI.yml
vendored
14
.github/workflows/logic_CI.yml
vendored
@@ -104,13 +104,13 @@ jobs:
|
||||
overwrite: true # 覆盖同名文件,避免上传失败
|
||||
|
||||
# 优化Artifact上传:增加校验,确保产物存在
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: logic_${{ needs.prepare-version.outputs.build_version }}
|
||||
path: ./build/logic_${{ needs.prepare-version.outputs.build_version }}
|
||||
if-no-files-found: error # 产物不存在则报错,避免空上传
|
||||
retention-days: 1 # 缩短保留时间,节省空间
|
||||
# - name: Upload Build Artifact
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: logic_${{ needs.prepare-version.outputs.build_version }}
|
||||
# path: ./build/logic_${{ needs.prepare-version.outputs.build_version }}
|
||||
# if-no-files-found: error # 产物不存在则报错,避免空上传
|
||||
# retention-days: 1 # 缩短保留时间,节省空间
|
||||
|
||||
# 注释的SSH部署步骤:保留但优化了变量引用(兼容push触发)
|
||||
# - name: 推送到服务器并通过screen启动服务
|
||||
|
||||
Reference in New Issue
Block a user