Skip to content

Commit

Permalink
added parameters to action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguescosta committed Nov 14, 2020
1 parent fce525b commit 15afe97
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,18 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
#
# Default: false
submodules: ''

# Indicates how many attempts for checkout
# Default: 3
retry-max-attempts: ''

# Indicates min seconds waiting for the next try for checkout
# Default: 10
retry-min-seconds: ''

# Indicates max seconds waiting for the next try for checkout
# Default: 20
retry-max-seconds: ''
```
<!-- end usage -->
Expand Down
10 changes: 10 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ inputs:
When the `ssh-key` input is not provided, SSH URLs beginning with `[email protected]:` are
converted to HTTPS.
default: false
retry-max-attempts:
description: 'Indicates how many attempts for checkout'
default: 3
retry-min-seconds:
description: 'Indicates min seconds waiting for the next try for checkout'
default: 10
retry-max-seconds:
description: 'Indicates max seconds waiting for the next try for checkout'
default: 20

runs:
using: node12
main: dist/index.js
Expand Down

0 comments on commit 15afe97

Please sign in to comment.