Use new Ultralytics Retry action (#13406)
Refactor code for speed and clarity Co-authored-by: UltralyticsAssistant <web@ultralytics.com>pull/13407/head
parent
d4e4c35181
commit
795b741542
|
@ -28,12 +28,12 @@ jobs:
|
||||||
sudo mv lychee /usr/local/bin
|
sudo mv lychee /usr/local/bin
|
||||||
|
|
||||||
- name: Test Markdown and HTML links with retry
|
- name: Test Markdown and HTML links with retry
|
||||||
uses: nick-invision/retry@v3
|
uses: ultralytics/actions/retry@main
|
||||||
with:
|
with:
|
||||||
timeout_minutes: 5
|
timeout_minutes: 5
|
||||||
retry_wait_seconds: 60
|
retry_delay_seconds: 60
|
||||||
max_attempts: 3
|
retries: 3
|
||||||
command: |
|
run: |
|
||||||
lychee \
|
lychee \
|
||||||
--scheme 'https' \
|
--scheme 'https' \
|
||||||
--timeout 60 \
|
--timeout 60 \
|
||||||
|
@ -49,12 +49,12 @@ jobs:
|
||||||
|
|
||||||
- name: Test Markdown, HTML, YAML, Python and Notebook links with retry
|
- name: Test Markdown, HTML, YAML, Python and Notebook links with retry
|
||||||
if: github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'workflow_dispatch'
|
||||||
uses: nick-invision/retry@v3
|
uses: ultralytics/actions/retry@main
|
||||||
with:
|
with:
|
||||||
timeout_minutes: 5
|
timeout_minutes: 5
|
||||||
retry_wait_seconds: 60
|
retry_delay_seconds: 60
|
||||||
max_attempts: 3
|
retries: 3
|
||||||
command: |
|
run: |
|
||||||
lychee \
|
lychee \
|
||||||
--scheme 'https' \
|
--scheme 'https' \
|
||||||
--timeout 60 \
|
--timeout 60 \
|
||||||
|
|
Loading…
Reference in New Issue