mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
chore: retry codecov upload (#4896)
Update to #4849, using a workaround for spurious codecov upload errors. Spurious codecov upload errors are expected in public repos which rely on PRs via forks. Retrying uploads is a decent and easy workaround.
This commit is contained in:
14
.github/workflows/nix.yml
vendored
14
.github/workflows/nix.yml
vendored
@@ -222,9 +222,13 @@ jobs:
|
|||||||
path: coverage.xml
|
path: coverage.xml
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
- name: upload coverage report
|
- name: upload coverage report
|
||||||
uses: codecov/codecov-action@v3
|
uses: wandalen/wretry.action@v1.3.0
|
||||||
with:
|
with:
|
||||||
files: coverage.xml
|
action: codecov/codecov-action@v3
|
||||||
fail_ci_if_error: true
|
with: |
|
||||||
verbose: true
|
files: coverage.xml
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
fail_ci_if_error: true
|
||||||
|
verbose: true
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
attempt_limit: 5
|
||||||
|
attempt_delay: 35000 # in milliseconds
|
||||||
|
|||||||
Reference in New Issue
Block a user