Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not retrying even though step fails #115

Open
oldergod opened this issue Aug 31, 2023 · 2 comments
Open

Not retrying even though step fails #115

oldergod opened this issue Aug 31, 2023 · 2 comments
Assignees

Comments

@oldergod
Copy link

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?

@cunj123
Copy link

cunj123 commented Oct 23, 2023

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

@cunj123
Copy link

cunj123 commented Oct 24, 2023

I've been able to fix this by using nick-fields/retry@v2.9.0 instead of @v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants