mirror of
https://github.com/bybrooklyn/openbitdo.git
synced 2026-03-19 04:12:56 -04:00
homebrew: send token fallback notice to stderr
This commit is contained in:
@@ -46,7 +46,7 @@ api_with_fallback() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${JOB_GH_TOKEN}" && "${JOB_GH_TOKEN}" != "${HOMEBREW_TAP_TOKEN}" ]]; then
|
if [[ -n "${JOB_GH_TOKEN}" && "${JOB_GH_TOKEN}" != "${HOMEBREW_TAP_TOKEN}" ]]; then
|
||||||
echo "homebrew token auth failed; retrying with workflow token"
|
echo "homebrew token auth failed; retrying with workflow token" >&2
|
||||||
if api "${JOB_GH_TOKEN}" "$@" 2>"$error_log"; then
|
if api "${JOB_GH_TOKEN}" "$@" 2>"$error_log"; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user