From c0ffa859ed8fac80d00aa3f2a32098f607221e06 Mon Sep 17 00:00:00 2001 From: Bronek Kozicki Date: Wed, 3 Apr 2024 19:40:49 +0100 Subject: [PATCH] Revert "Disable wandalen/wretry for codecov upload" This reverts commit 7f151fa2ca69a64e3395fce4361efe78fb55e374. --- .github/workflows/nix.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 4c6df5787f3..e213599fc14 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -207,11 +207,13 @@ jobs: path: coverage.xml retention-days: 30 - name: upload coverage report - uses: codecov/codecov-action@v4.1.1 - with: | - file: coverage.xml - fail_ci_if_error: true - disable_search: true - verbose: true - os: linux - token: ${{ secrets.CODECOV_TOKEN }} + uses: wandalen/wretry.action@v1.3.0 + with: + action: codecov/codecov-action@v4 + with: | + files: coverage.xml + fail_ci_if_error: true + verbose: true + token: ${{ secrets.CODECOV_TOKEN }} + attempt_limit: 5 + attempt_delay: 35000 # in milliseconds