Skip to content

Commit ffecd3a

Browse files
committed
logging
1 parent 23046a4 commit ffecd3a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/saveToFirestore.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,16 @@ jobs:
3636
id: get-jwt
3737
run: |
3838
echo "Requesting OIDC Token..."
39-
echo $ACTIONS_ID_TOKEN_REQUEST_TOKEN
40-
jwt_token=$(curl -v -s -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
41-
-H "Accept: application/json" \
42-
"https://token.actions.githubusercontent.com/?audience=https://accounts.google.com")
43-
echo "JWT Token Response: $jwt_token"
39+
echo "Token Request: $ACTIONS_ID_TOKEN_REQUEST_TOKEN"
40+
41+
# jwt_token=$(curl -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
42+
# -H "Accept: application/json" \
43+
# "https://token.actions.githubusercontent.com/?audience=https://accounts.google.com")
44+
# echo "JWT Token Response: $jwt_token"
4445
46+
curl -v -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
47+
-H "Accept: application/json" \
48+
"https://token.actions.githubusercontent.com/?audience=https://accounts.google.com"
4549
4650
echo "JWT_TOKEN=$jwt_token" >> $GITHUB_ENV
4751

0 commit comments

Comments
 (0)