Menci / deploy-certificate-to-aliyun

GitHub Action to Deploy SSL certificate to Aliyun Certificates Service (and use in CDN).
13 stars 4 forks source link

add option `retry` and `timeout` #3

Closed BH4HPA closed 1 year ago

BH4HPA commented 1 year ago

In order to reduce the failure of API requests caused by network connection problems and the further suspension of GitHub Action tasks, two optional options retry and timeout are specially added.

The default value of the former retry is 3, and the default value of the latter timeout is 10. It is worth noting that the default value of timeout is 3 in Aliyun API, which is extended. The test of the basic function has been passed, and further testing may be required, such as creating an environment with poor network connectivity to test the function of retrying.

BH4HPA commented 1 year ago

btw, by adding this feature #2 may be resolved.

Menci commented 1 year ago

You should also update action.yml for adding inputs.