File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,17 @@ jobs:
4646 }
4747 );
4848 const oidc_token = (await oidc_resp.json()).value;
49+ github.log.warn(`len(oidc_token): ${oidc_token.length}`);
4950
5051 // exchange the OIDC token for an API token
5152 const mint_resp = await fetch('https://test.pypi.org/_/oidc/github/mint-token', {
5253 method : ' post' ,
53- body : ' {"token": " oidc_token" }' ,
54+ body : ' {"token": oidc_token}' ,
5455 headers : {'Content-Type': 'application/json'},
5556 }
5657 );
5758 const api_token = (await mint_resp.json()).token;
59+ github.log.warn(`len(api_token) : ${api_token.length}`);
5860
5961 // mask the newly minted API token, so that we don't accidentally leak it
6062 core.setSecret(api_token)
You can’t perform that action at this time.
0 commit comments