mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Retry choco install step up to 10 times
With a timeout of 3min
This commit is contained in:
parent
a9f33999dc
commit
8e3efab09d
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -78,10 +78,14 @@ 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:
|
||||||
choco install OpenCppCoverage -y
|
max_attempts: 10
|
||||||
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
timeout_minutes: 3
|
||||||
|
command: |
|
||||||
|
choco install OpenCppCoverage -y
|
||||||
|
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user