Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Jun 25, 2024
1 parent e0c7a87 commit f6b892b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/mint-pypi-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ oidc_token=$(jq -r '.value' <<< "${resp}")

# exchange the OIDC token for an API token
resp=$(curl -X POST https://test.pypi.org/_/oidc/mint-token -d "{\"token\": \"${oidc_token}\"}")

echo "OIDC token: $oidc_token"
echo "Response: $resp"

api_token=$(jq -r '.token' <<< "${resp}")

# mask the newly minted API token, so that we don't accidentally leak it
Expand Down
File renamed without changes.

0 comments on commit f6b892b

Please sign in to comment.