From 88b2e3efd406f67d058d04998b37ff6fb0e4427c Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sat, 15 Jan 2022 13:04:03 +0200 Subject: [PATCH] github actions: set --max-time option for curl calls where it can hang for long time --- .github/workflows/packages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index d891d69d65..e22f0a677c 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -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' \