github actions: set --max-time option for curl calls where it can hang for long time

This commit is contained in:
Leonid Pliushch 2022-01-15 13:04:03 +02:00
parent 9676810962
commit 88b2e3efd4
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,7 @@ jobs:
--silent \
--retry 2 \
--retry-delay 3 \
--max-time 300 \
--user "${{ secrets.APTLY_API_AUTH }}" \
--user-agent "Termux-Packages/1.0 (https://github.com/termux/termux-packages)" \
--request POST \
@ -279,6 +280,7 @@ jobs:
--silent \
--retry 2 \
--retry-delay 3 \
--max-time 300 \
--user "${{ secrets.APTLY_API_AUTH }}" \
--user-agent "Termux-Packages/1.0 (https://github.com/termux/termux-packages)" \
--header 'Content-Type: application/json' \