You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
999 B
39 lines
999 B
name: 'openpilot env setup, with retry on failure'
|
|
|
|
inputs:
|
|
git_lfs:
|
|
description: 'Whether or not to pull the git lfs'
|
|
required: false
|
|
default: 'true'
|
|
|
|
env:
|
|
SLEEP_TIME: 30 # Time to sleep between retries
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- id: setup1
|
|
uses: ./.github/workflows/setup
|
|
continue-on-error: true
|
|
with:
|
|
git_lfs: ${{ inputs.git_lfs }}
|
|
is_retried: true
|
|
- if: steps.setup1.outcome == 'failure'
|
|
shell: bash
|
|
run: sleep ${{ env.SLEEP_TIME }}
|
|
- id: setup2
|
|
if: steps.setup1.outcome == 'failure'
|
|
uses: ./.github/workflows/setup
|
|
continue-on-error: true
|
|
with:
|
|
git_lfs: ${{ inputs.git_lfs }}
|
|
is_retried: true
|
|
- if: steps.setup2.outcome == 'failure'
|
|
shell: bash
|
|
run: sleep ${{ env.SLEEP_TIME }}
|
|
- id: setup3
|
|
if: steps.setup2.outcome == 'failure'
|
|
uses: ./.github/workflows/setup
|
|
with:
|
|
git_lfs: ${{ inputs.git_lfs }}
|
|
is_retried: true |