File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
.github/scripts/ppc64le/self-hosted-builder/helpers Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,18 @@ signature=$(echo -n "${header_base64}.${payload_base64}" | \
2727
2828generated_jwt=" ${header_base64} .${payload_base64} .${signature} "
2929
30- API_VERSION=v3
31- API_HEADER=" Accept: application/vnd.github+json"
30+ echo $generated_jwt
31+ # API_VERSION=v3
32+ # API_HEADER="Accept: application/vnd.github+json"
3233
33- auth_header=" Authorization: Bearer ${generated_jwt} "
34+ # auth_header="Authorization: Bearer ${generated_jwt}"
3435
35- app_installations_response=$( curl -sX POST \
36- -H " ${auth_header} " \
37- -H " ${API_HEADER} " \
38- --url " https://api.github.com/app/installations/${INSTALL_ID} /access_tokens" \
39- )
36+ # app_installations_response=$(curl -sX POST \
37+ # -H "${auth_header}" \
38+ # -H "${API_HEADER}" \
39+ # --url "https://api.github.com/app/installations/${INSTALL_ID}/access_tokens" \
40+ # )
4041
41- echo " $app_installations_response " | jq --raw-output ' .token'
42+ # echo "$app_installations_response" | jq --raw-output '.token'
4243
4344# echo "ACCESS_TOKEN=${jwt}" > "${DST_FILE}"
You can’t perform that action at this time.
0 commit comments