Use new Ultralytics Retry action (#17419)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
f2f81aa5e8
commit
84bfe3c2e4
2 changed files with 14 additions and 14 deletions
20
.github/workflows/links.yml
vendored
20
.github/workflows/links.yml
vendored
|
|
@ -29,12 +29,12 @@ jobs:
|
|||
sudo mv lychee /usr/local/bin
|
||||
|
||||
- name: Test Markdown and HTML links with retry
|
||||
uses: nick-invision/retry@v3
|
||||
uses: ultralytics/actions/retry@main
|
||||
with:
|
||||
timeout_minutes: 5
|
||||
retry_wait_seconds: 60
|
||||
max_attempts: 3
|
||||
command: |
|
||||
timeout_minutes: 60
|
||||
retry_delay_seconds: 300
|
||||
retries: 2
|
||||
run: |
|
||||
lychee \
|
||||
--scheme https \
|
||||
--timeout 60 \
|
||||
|
|
@ -59,12 +59,12 @@ jobs:
|
|||
|
||||
- name: Test Markdown, HTML, YAML, Python and Notebook links with retry
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
uses: nick-invision/retry@v3
|
||||
uses: ultralytics/actions/retry@main
|
||||
with:
|
||||
timeout_minutes: 5
|
||||
retry_wait_seconds: 60
|
||||
max_attempts: 3
|
||||
command: |
|
||||
timeout_minutes: 60
|
||||
retry_delay_seconds: 300
|
||||
retries: 2
|
||||
run: |
|
||||
lychee \
|
||||
--scheme https \
|
||||
--timeout 60 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue