Skip to content

Commit

Permalink
docs: update README.md with new version (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamsbdev committed Feb 3, 2024
1 parent 7152eba commit 3f75758
Showing 1 changed file with 9 additions and 9 deletions.
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

0 comments on commit 3f75758

Please sign in to comment.