更新 .gitea/workflows/demo.yaml
自动流水线示例 / build (push) Successful in 2m23s
Details
自动流水线示例 / deploy (push) Successful in 22s
Details
自动流水线示例 / 检查 (push) Successful in 10s
Details
自动流水线示例 / 制品上传 (ubuntu-latest, a) (push) Failing after 1m6s
Details
自动流水线示例 / 制品上传 (ubuntu-latest, b) (push) Failing after 28s
Details
自动流水线示例 / 制品上传 (ubuntu-latest, c) (push) Failing after 23s
Details
自动流水线示例 / build (push) Successful in 2m23s
Details
自动流水线示例 / deploy (push) Successful in 22s
Details
自动流水线示例 / 检查 (push) Successful in 10s
Details
自动流水线示例 / 制品上传 (ubuntu-latest, a) (push) Failing after 1m6s
Details
自动流水线示例 / 制品上传 (ubuntu-latest, b) (push) Failing after 28s
Details
自动流水线示例 / 制品上传 (ubuntu-latest, c) (push) Failing after 23s
Details
发布生产+
This commit is contained in:
parent
eaadae8e70
commit
10e7f017ee
|
|
@ -144,9 +144,10 @@ jobs:
|
||||||
name: 检查
|
name: 检查
|
||||||
needs: [build, deploy]
|
needs: [build, deploy]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ failure() }}
|
# if: ${{ success() }} 参考:https://docs.github.com/en/actions/reference/workflows-and-actions/expressions
|
||||||
|
if: ${{ success() }}
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Failed to build and deploy"
|
- run: echo "任务成功构建和部署完成"
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
name: 制品上传
|
name: 制品上传
|
||||||
|
|
@ -168,7 +169,7 @@ jobs:
|
||||||
path: my-binary
|
path: my-binary
|
||||||
retention-days: 90 # 保留期必须介于 1 到 90 天(含)之间。
|
retention-days: 90 # 保留期必须介于 1 到 90 天(含)之间。
|
||||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
compression-level: 9 # 6:默认压缩(与 GNU Gzip 相同)
|
compression-level: 9 # 6默认压缩(与 GNU Gzip 相同),如果设置成0不进行文件压缩
|
||||||
#path: |
|
#path: |
|
||||||
# path/output/bin/
|
# path/output/bin/
|
||||||
# path/output/test-results
|
# path/output/test-results
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue