Fix OIDC token payload

This commit is contained in:
Adam Turner 2023-07-24 16:42:36 +01:00
parent 1a403e4f9a
commit 21fbee5e83

View File

@ -51,7 +51,7 @@ jobs:
// exchange the OIDC token for an API token
const mint_resp = await fetch('https://test.pypi.org/_/oidc/github/mint-token', {
method: 'post',
body: '{"token": oidc_token}' ,
body: `{"token": "${oidc_token}"}` ,
headers: {'Content-Type': 'application/json'},
}
);