Use new Ultralytics Retry action (#13406)

Refactor code for speed and clarity

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Paula DerrengerandUltralyticsAssistant authored and GitHub committed 2024-11-08 12:18:52 +01:00
1 parent d4e4c35181
commit 795b741542
1 file changed
+8 -8
+8 -8
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 \