retry icon indicating copy to clipboard operation
retry copied to clipboard

Not retrying even though step fails

Open oldergod opened this issue 1 year ago • 2 comments

I setup retry because of a flaky test which has never been a problem of timing out. It usually last 50~60 minutes and succeed or fail.

Here my config:

      - name: Test
        uses: nick-fields/retry@v2
        with:
          max_attempts: 5
          timeout_minutes: 90
          shell: bash
          command: |
            ./gradlew -Pswift=false build --stacktrace --warning-mode all

Here is the job: https://github.com/square/wire/actions/runs/6036930069/job/16380190814 I cannot find log saying that anything has been retried and the step failed on the first attempt.

Why isn't it retrying? Is my config wrong?

oldergod avatar Aug 31 '23 15:08 oldergod

I have the same problem, it seems like the same problem as #44, which is said to have been fixed.

cunj123 avatar Oct 23 '23 16:10 cunj123

I've been able to fix this by using nick-fields/[email protected] instead of @v2

cunj123 avatar Oct 24 '23 12:10 cunj123