mirror of https://github.com/actions/toolkit
readme updated
parent
619566e5b8
commit
3ceb264e9b
|
@ -279,7 +279,9 @@ async function getIDTokenAction(): Promise<void> {
|
|||
|
||||
const audience = core.getInput('audience', {required: false})
|
||||
const id_token = await core.getIDToken(audience)
|
||||
core.setOutput('id_token', id_token)
|
||||
|
||||
// this id_token can be used to get access token from third party cloud providers
|
||||
|
||||
|
||||
}
|
||||
getIDTokenAction()
|
||||
|
|
Loading…
Reference in New Issue