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

docs: update README.md with new version #130

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The final error returned by the command
### Shell

```yaml
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
Expand All @@ -90,7 +90,7 @@ with:
### Timeout in minutes

```yaml
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
Expand All @@ -100,7 +100,7 @@ with:
### Timeout in seconds

```yaml
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
Expand All @@ -110,7 +110,7 @@ with:
### Only retry after timeout

```yaml
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
Expand All @@ -121,7 +121,7 @@ with:
### Only retry after error

```yaml
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
Expand All @@ -132,7 +132,7 @@ with:
### Retry using continue_on_error input (in composite action) but allow failure and do something with output

```yaml
- uses: nick-fields/retry@v2
- uses: nick-fields/retry@v3
id: retry
with:
timeout_seconds: 15
Expand All @@ -154,7 +154,7 @@ with:
### Retry using continue-on-error built-in command (in workflow action) but allow failure and do something with output

```yaml
- uses: nick-fields/retry@v2
- uses: nick-fields/retry@v3
id: retry
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error
continue-on-error: true
Expand Down Expand Up @@ -183,7 +183,7 @@ with:
### Run script after failure but before retry

```yaml
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
Expand All @@ -194,7 +194,7 @@ with:
### Run different command after first failure

```yaml
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
Expand Down
Loading