File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ function fetch_pear() {
5
5
auth_flag=" -H 'Authorization: token $GITHUB_TOKEN '"
6
6
fi
7
7
8
- latest_tag=$( curl -sSfL --retry 5 --retry-delay 60 " ${auth_flag} " https://api.github.com/repos/pear/pearweb_phars/releases/latest | jq -r .tag_name)
9
- curl -sSfL " ${auth_flag} " --retry 2 --retry-delay 60 -O https://raw.githubusercontent.com/pear/pearweb_phars/${latest_tag} /go-pear.phar
8
+ latest_tag=$( curl -sSfL --retry 20 " ${auth_flag} " https://api.github.com/repos/pear/pearweb_phars/releases/latest | jq -r .tag_name)
9
+ curl -sSfL " ${auth_flag} " --retry 20 -O https://raw.githubusercontent.com/pear/pearweb_phars/${latest_tag} /go-pear.phar
10
10
11
11
if [ ! -f go-pear.phar ]; then
12
12
echo " Latest PEAR tarball not found"
You can’t perform that action at this time.
0 commit comments