mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31: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
|
||||
|
||||
- name: Install OpenCppCoverage and add to PATH
|
||||
uses: nick-fields/retry@v2
|
||||
if: matrix.type.name == 'Debug' && runner.os == 'Windows'
|
||||
run: |
|
||||
choco install OpenCppCoverage -y
|
||||
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
||||
with:
|
||||
max_attempts: 10
|
||||
timeout_minutes: 3
|
||||
command: |
|
||||
choco install OpenCppCoverage -y
|
||||
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
||||
|
||||
- name: Configure CMake
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user