Use new Ultralytics Retry action (#17419)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pull/17402/head
Paula Derrenger 3 weeks ago committed by GitHub
parent f2f81aa5e8
commit 84bfe3c2e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      .github/workflows/docker.yaml
  2. 20
      .github/workflows/links.yml

@ -134,12 +134,12 @@ jobs:
- name: Build Image - name: Build Image
if: github.event_name == 'push' || github.event.inputs[matrix.dockerfile] == 'true' if: github.event_name == 'push' || github.event.inputs[matrix.dockerfile] == 'true'
uses: nick-invision/retry@v3 uses: ultralytics/actions/retry@main
with: with:
timeout_minutes: 120 timeout_minutes: 120
retry_wait_seconds: 60 retry_delay_seconds: 60
max_attempts: 3 # retry twice retries: 2
command: | run: |
docker build \ docker build \
--platform ${{ matrix.platforms }} \ --platform ${{ matrix.platforms }} \
-f docker/${{ matrix.dockerfile }} \ -f docker/${{ matrix.dockerfile }} \

@ -29,12 +29,12 @@ jobs:
sudo mv lychee /usr/local/bin sudo mv lychee /usr/local/bin
- name: Test Markdown and HTML links with retry - name: Test Markdown and HTML links with retry
uses: nick-invision/retry@v3 uses: ultralytics/actions/retry@main
with: with:
timeout_minutes: 5 timeout_minutes: 60
retry_wait_seconds: 60 retry_delay_seconds: 300
max_attempts: 3 retries: 2
command: | run: |
lychee \ lychee \
--scheme https \ --scheme https \
--timeout 60 \ --timeout 60 \
@ -59,12 +59,12 @@ jobs:
- name: Test Markdown, HTML, YAML, Python and Notebook links with retry - name: Test Markdown, HTML, YAML, Python and Notebook links with retry
if: github.event_name == 'workflow_dispatch' if: github.event_name == 'workflow_dispatch'
uses: nick-invision/retry@v3 uses: ultralytics/actions/retry@main
with: with:
timeout_minutes: 5 timeout_minutes: 60
retry_wait_seconds: 60 retry_delay_seconds: 300
max_attempts: 3 retries: 2
command: | run: |
lychee \ lychee \
--scheme https \ --scheme https \
--timeout 60 \ --timeout 60 \

Loading…
Cancel
Save