add options to set max attempts and intervals

This commit is contained in:
Clansty 2024-09-02 23:46:54 +08:00
parent 2d7d9f7ff5
commit 4dca78049b
No known key found for this signature in database
GPG key ID: 3A6BE8BAF2EDE134
8 changed files with 85 additions and 3 deletions

View file

@ -126,6 +126,18 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
# running from unless specified. Example URLs are https://github.com or
# https://my-ghes-server.example.com
github-server-url: ''
# Maximum number of attempts
# Default: 3
max-attempts: ''
# Minimum number of seconds to wait before retrying
# Default: 10
min-retry-interval: ''
# Maximum number of seconds to wait before retrying
# Default: 20
max-retry-interval: ''
```
<!-- end usage -->