We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b14a7b5 commit 3cfa850Copy full SHA for 3cfa850
www/install.sh
@@ -56,9 +56,9 @@ download() {
56
output="$2"
57
58
if command -v curl > /dev/null; then
59
- curl --proto =https --tlsv1.2 -sSfL "$url" "-o$output"
+ curl --proto =https --tlsv1.2 -sSfL ${GITHUB_TOKEN:+-H "Authorization: Bearer $GITHUB_TOKEN"} "$url" -o"$output"
60
else
61
- wget --https-only --secure-protocol=TLSv1_2 --quiet "$url" "-O$output"
+ wget --https-only --secure-protocol=TLSv1_2 --quiet ${GITHUB_TOKEN:+--header="Authorization: Bearer $GITHUB_TOKEN"} "$url" -O"$output"
62
fi
63
}
64
0 commit comments