This commit is contained in:
1 file changed
+2
-2
@@ -39,10 +39,10 @@ jobs:
|
||||
"${API}/repos/${REPO}/releases" >/dev/null
|
||||
echo "Release ${VERSION} 创建完成(go get 引用即发版本体)"
|
||||
|
||||
# 发版成功后清理失败的 action 记录
|
||||
# 清理失败的 action 记录——always():release 失败时更要清理(否则失败轮次永久堆积)
|
||||
cleanup:
|
||||
needs: release
|
||||
if: success()
|
||||
if: always()
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 清理失败的 workflow runs
|
||||
|
||||
Reference in new issue
Block a user