We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 258b0ea commit 1a403e4Copy full SHA for 1a403e4
.github/workflows/create-release.yml
@@ -46,15 +46,17 @@ jobs:
46
}
47
);
48
const oidc_token = (await oidc_resp.json()).value;
49
+ github.log.warn(`len(oidc_token): ${oidc_token.length}`);
50
51
// exchange the OIDC token for an API token
52
const mint_resp = await fetch('https://test.pypi.org/_/oidc/github/mint-token', {
53
method: 'post',
- body: '{"token": "oidc_token"}' ,
54
+ body: '{"token": oidc_token}' ,
55
headers: {'Content-Type': 'application/json'},
56
57
58
const api_token = (await mint_resp.json()).token;
59
+ github.log.warn(`len(api_token): ${api_token.length}`);
60
61
// mask the newly minted API token, so that we don't accidentally leak it
62
core.setSecret(api_token)
0 commit comments