Use new Ultralytics Retry action ()

Refactor code for speed and clarity

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
pull/13407/head
Paula Derrenger 2024-11-08 12:18:52 +01:00 committed by GitHub
parent d4e4c35181
commit 795b741542
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 8 deletions
.github/workflows

View File

@ -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 \