-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from C2QA/bugfix/prevent-setup-ffmeg-fetch-error
add custom composite action to retry setup-ffmpeg if fetch fails
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Setup ffmpeg' | ||
description: 'Setting up ffmpeg with additional retries in case a fetch fails.' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Setup ffmpeg (attempt 1) | ||
id: attempt1 | ||
continue-on-error: true | ||
uses: FedericoCarboni/setup-ffmpeg@v3.1 | ||
- name: Setup ffmpeg (attempt 2) | ||
if: ${{ steps.attempt1.outcome == 'failure' }} | ||
id: attempt2 | ||
continue-on-error: true | ||
uses: FedericoCarboni/setup-ffmpeg@v3.1 | ||
- name: Setup ffmpeg (attempt 3) | ||
if: ${{ steps.attempt2.outcome == 'failure' }} | ||
id: attempt3 | ||
continue-on-error: true | ||
uses: FedericoCarboni/setup-ffmpeg@v3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters