Skip to content

Commit ccf4a51

Browse files
authored
fix(ci): debug tokens
1 parent b48981f commit ccf4a51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222
run: |
2323
oidc_token=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=testpypi" | jq '.value')
2424
api_token=$(curl -X POST https://test.pypi.org/_/oidc/github/mint-token -d "{\"token\": \"${oidc_token}\"}" | jq '.token' | tr -d '"')
25-
echo "::add-mask::${api_token}"
26-
echo "api-token=${api_token}" >> "${GITHUB_OUTPUT}"
25+
echo "OIDC token: $oidc_token"
26+
echo "pypi token: $api_token"
27+
$echo "api-token=${api_token}" >> "${GITHUB_OUTPUT}"
2728
- name: Python Semantic Release
2829
uses: relekang/python-semantic-release@v7.33.2
2930
with:

0 commit comments

Comments
 (0)