From 7599b2eceff40916ce1fa6174fbe6b135c386ce3 Mon Sep 17 00:00:00 2001 From: dream <13432095+dream-deve@user.noreply.gitee.com> Date: Sun, 18 May 2025 04:36:13 +0000 Subject: [PATCH] update fetch.yml --- .workflow/fetch.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.workflow/fetch.yml b/.workflow/fetch.yml index 842a6a8..76b7fa4 100644 --- a/.workflow/fetch.yml +++ b/.workflow/fetch.yml @@ -22,6 +22,21 @@ stages: - npm config set registry https://registry.npmmirror.com - '# 执行编译命令' - npm install && node fetchURLByWasm.js + - '' + strategy: + retry: '0' + timeout: 5 + - name: push_repo + displayName: push_repo + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@nodejs + name: push_repo + displayName: push_repo + nodeVersion: 21.5.0 + commands: - '# actions提交' - git config user.name "Gitee Actions" - git config user.email "actions@githee.com" @@ -29,6 +44,15 @@ stages: - git add . - git diff --quiet && git diff --staged --quiet || git commit -m "Update by Gitee Actions" - git push + - '' + artifacts: + - name: BUILD_ARTIFACT + path: + - ./dist + caches: + - ~/.npm + - ~/.yarn + notify: [] strategy: retry: '0' - timeout: 5 + timeout: 1