mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Retry choco install step up to 10 times
With a timeout of 3min
This commit is contained in:
parent
a9f33999dc
commit
8e3efab09d
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -78,8 +78,12 @@ jobs:
|
|||||||
run: brew install gcovr
|
run: brew install gcovr
|
||||||
|
|
||||||
- name: Install OpenCppCoverage and add to PATH
|
- name: Install OpenCppCoverage and add to PATH
|
||||||
|
uses: nick-fields/retry@v2
|
||||||
if: matrix.type.name == 'Debug' && runner.os == 'Windows'
|
if: matrix.type.name == 'Debug' && runner.os == 'Windows'
|
||||||
run: |
|
with:
|
||||||
|
max_attempts: 10
|
||||||
|
timeout_minutes: 3
|
||||||
|
command: |
|
||||||
choco install OpenCppCoverage -y
|
choco install OpenCppCoverage -y
|
||||||
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user