Skip to content

Commit

Permalink
Update release script url.
Browse files Browse the repository at this point in the history
Signed-off-by: Bhupender <[email protected]>
  • Loading branch information
Bhupender-Y committed Nov 29, 2023
1 parent 2e44a16 commit 0429a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tagPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
TWINE_USERNAME: __token__
run: |
resp=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=pypi")
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=testpypi")
oidc_token=$(jq '.value' <<< "${resp}")
resp=$(curl -X POST https://testpypi.org/_/oidc/github/mint-token -d "{\"token\": \"${oidc_token}\"}")
resp=$(curl -X POST https://pypi.org/_/oidc/github/mint-token -d "{\"token\": \"${oidc_token}\"}")
api_token=$(jq '.token' <<< "${resp}")
# tell GitHub Actions to mask the token in any console logs,
# to avoid leaking it
Expand Down

0 comments on commit 0429a3c

Please sign in to comment.