retry:在失败或超时时重试GitHub Action步骤

时间:2021-05-02 13:24:41
【文件属性】:
文件名称:retry:在失败或超时时重试GitHub Action步骤
文件大小:70KB
文件格式:ZIP
更新时间:2021-05-02 13:24:41
TypeScript 重试 重试失败或超时的“操作”步骤。 当前,这旨在代替喜怒无常的命令的run步骤。 输入项 timeout_minutes 尝试超时之前需要等待的分钟。 必须仅指定分钟或秒 timeout_seconds 尝试超时之前需要等待的秒数。 必须仅指定分钟或秒 max_attempts 失败步骤之前所需的尝试次数 command 必需要运行的命令 retry_wait_seconds 可选尝试下一次重试之前要等待的秒数。 默认为10 shell 用于执行command可选Shell。 在Windows上默认为powershell ,否则为bash 。 根据支持bash,python,pwsh,sh,cmd和powershell polling_interval_seconds 可选轮询命令结果时要等待的秒数。 默认为1 retry_on 重试可选事件。 当前支持[任何(默认),超
【文件预览】:
retry-master
----.github()
--------scripts()
--------ISSUE_TEMPLATE()
--------workflows()
----action.yml(2KB)
----src()
--------util.ts(91B)
--------index.ts(6KB)
----.vscode()
--------settings.json(143B)
----.releaserc.js(701B)
----.commitlintrc.js(234B)
----sample.env(179B)
----tsconfig.json(861B)
----LICENSE(1KB)
----README.md(4KB)
----dist()
--------index.js(33KB)
----.gitignore(2KB)
----.prettierrc.js(115B)
----package-lock.json(259KB)
----package.json(1KB)

网友评论