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
.github/workflows
|
@ -28,12 +28,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: |
|
||||
retry_delay_seconds: 60
|
||||
retries: 3
|
||||
run: |
|
||||
lychee \
|
||||
--scheme 'https' \
|
||||
--timeout 60 \
|
||||
|
@ -49,12 +49,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: |
|
||||
retry_delay_seconds: 60
|
||||
retries: 3
|
||||
run: |
|
||||
lychee \
|
||||
--scheme 'https' \
|
||||
--timeout 60 \
|
||||
|
|
Loading…
Reference in New Issue