From 795b7415425cc3d8e0e4ec361c182707158c96ea Mon Sep 17 00:00:00 2001 From: Paula Derrenger <107626595+pderrenger@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:18:52 +0100 Subject: [PATCH] Use new Ultralytics Retry action (#13406) Refactor code for speed and clarity Co-authored-by: UltralyticsAssistant --- .github/workflows/links.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 82c1f3f..8c53669 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -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 \