Skip to content

Commit

Permalink
Create oidc2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Glass authored Dec 6, 2024
1 parent 967e199 commit e1d4895
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/oidc2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: OIDC Token Test
on:
workflow_dispatch:
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
id: script
timeout-minutes: 10
with:
debug: true
script: |
const token = process.env['ACTIONS_RUNTIME_TOKEN']
const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL']
core.setOutput('TOKEN', token.trim())
core.setOutput('IDTOKENURL', runtimeUrl.trim())

0 comments on commit e1d4895

Please sign in to comment.