Hi there, 👋🏼
Let me report the following error during my gem's release workflow via the rubygems/release-gem action:
Run rubygems/configure-rubygems-credentials@v1.0.0
with:
gem-server: https://rubygems.org/
audience: rubygems.org
Error: No trusted publisher configured for this workflow found on https://rubygems.org/ for audience rubygems.org
Run git credential-cache exit || true
For the full log, see:
https://github.com/ybiquitous/easytest/actions/runs/21544806558/job/62084572655#step:4:28
Environment
Following the "Adding a trusted publisher to a gem" document, I've already set up a trusted publisher for my gem as below:
I've used the following workflows, including a reusable workflow:
Details
If I understand correctly, the following API call seems to have failed (no result?) from this action's source code, but I'm not sure about the reason.
POST https://rubygems.orb/api/v1/oidc/trusted_publisher/exchange_token
|
const http = new HttpClient('rubygems-oidc-action') |
|
const url = `${server}/api/v1/oidc/trusted_publisher/exchange_token` |
|
const res = await http.postJson<IdToken>( |
|
url, |
|
{jwt: webIdentityToken}, |
|
{ |
|
'content-type': 'application/json', |
|
accept: 'application/json' |
|
} |
|
) |
|
|
|
if (!res.result) |
|
throw new Error( |
|
`No trusted publisher configured for this workflow found on ${server} for audience ${audience}` |
|
) |
I've appreciated it if you could take a look. Thanks.
(Feel free to let me know if I might misunderstand or misconfigure something.)
Hi there, 👋🏼
Let me report the following error during my gem's release workflow via the
rubygems/release-gemaction:For the full log, see:
https://github.com/ybiquitous/easytest/actions/runs/21544806558/job/62084572655#step:4:28
Environment
Following the "Adding a trusted publisher to a gem" document, I've already set up a trusted publisher for my gem as below:
I've used the following workflows, including a reusable workflow:
Details
If I understand correctly, the following API call seems to have failed (no result?) from this action's source code, but I'm not sure about the reason.
configure-rubygems-credentials/src/oidc/trustedPublisher.ts
Lines 12 to 26 in 31a1b8b
I've appreciated it if you could take a look. Thanks.
(Feel free to let me know if I might misunderstand or misconfigure something.)