Update GitHub Actions yaml
Retry feature
This commit is contained in:
parent
5037f64d96
commit
7ea1afb947
1 changed files with 10 additions and 2 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -25,9 +25,17 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm i
|
||||
- name: Run old script
|
||||
run: node src/run.js
|
||||
uses: nick-fields/retry@v3
|
||||
with:
|
||||
timeout_minutes: 5
|
||||
max_attempts: 5
|
||||
command: node src/run.js
|
||||
- name: Run HoYoPlay script
|
||||
run: node src/runHYP.js
|
||||
uses: nick-fields/retry@v3
|
||||
with:
|
||||
timeout_minutes: 5
|
||||
max_attempts: 5
|
||||
command: node src/runHYP.js
|
||||
- name: Run Markdown generate script
|
||||
run: node src/generateMarkdown.js
|
||||
- name: Git staging
|
||||
|
|
Loading…
Reference in a new issue