File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
.github/scripts/ppc64le/self-hosted-builder/helpers Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ cat "$APP_PRIVATE_KEY"
3434generated_jwt=" ${header_base64} .${payload_base64} .${signature} "
3535
3636echo $generated_jwt
37- # API_VERSION=v3
38- # API_HEADER="Accept: application/vnd.github+json"
37+ API_VERSION=v3
38+ API_HEADER=" Accept: application/vnd.github+json"
3939
40- # auth_header="Authorization: Bearer ${generated_jwt}"
40+ auth_header=" Authorization: Bearer ${generated_jwt} "
4141
42- # app_installations_response=$(curl -sX POST \
43- # -H "${auth_header}" \
44- # -H "${API_HEADER}" \
45- # --url "https://api.github.com/app/installations/${INSTALL_ID}/access_tokens" \
46- # )
42+ app_installations_response=$( curl -sX POST \
43+ -H " ${auth_header} " \
44+ -H " ${API_HEADER} " \
45+ --url " https://api.github.com/app/installations/${INSTALL_ID} /access_tokens" \
46+ )
4747
48- # echo "$app_installations_response" | jq --raw-output '.token'
48+ echo " $app_installations_response " | jq --raw-output ' .token'
4949
5050# echo "ACCESS_TOKEN=${jwt}" > "${DST_FILE}"
You can’t perform that action at this time.
0 commit comments