Maybe GitHub API has changed

This commit is contained in:
Alexey Milovidov 2021-03-11 08:47:41 +03:00
parent 09975e1831
commit 14d92edf96

View File

@ -39,7 +39,7 @@ function github_download()
local file=${2} local file=${2}
if ! [ -f "$file" ] if ! [ -f "$file" ]
then then
if ! curl -H "Authorization: token $GITHUB_TOKEN" \ if ! curl -u "$GITHUB_USER:$GITHUB_TOKEN" \
-sSf "$url" \ -sSf "$url" \
> "$file" > "$file"
then then