Skip to content

Commit

Permalink
Use new Ultralytics Retry action (#13406)
Browse files Browse the repository at this point in the history
Refactor code for speed and clarity

Co-authored-by: UltralyticsAssistant <[email protected]>
  • Loading branch information
pderrenger and UltralyticsAssistant authored Nov 8, 2024
1 parent d4e4c35 commit 795b741
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 795b741

Please sign in to comment.