Skip to content

Commit 4a1717d

Browse files
chore: add debugging
1 parent 04d5e4a commit 4a1717d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: .github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
with:
3535
fail_ci_if_error: true
3636
verbose: true
37+
- name: Test for the OIDC stuff
38+
run: |
39+
echo -e "\033[0;32m==>\033[0m Requesting OIDC token from '$ACTIONS_ID_TOKEN_REQUEST_URL'"
40+
response=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=$CC_OIDC_AUDIENCE")
41+
echo -e "$response"
42+
CC_TOKEN=$(echo $response | cut -d\" -f6)
43+
echo -e "$CC_TOKEN"
3744
- name: Upload coverage to Codecov (oidc)
3845
uses: codecov/codecov-action@main
3946
with:

0 commit comments

Comments
 (0)