File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
.github/actions/lowrisc_ci_app_get_token Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ runs:
2323 steps :
2424 - name : Get and exchange tokens
2525 id : get_token
26+ shell : bash
2627 run : |
2728 # First, manually request a JSON Web Token (JWT) from GitHub's OIDC provider for the workflow
2829 # - Set our CA as the intended audience
2930 ID_TOKEN=$(curl -sSf -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=${{ inputs.audience }}" | jq -r .value)
3031 echo "::add-mask::$ID_TOKEN"
3132 # Now use the JWT token to request the lowRISC CA to provide an lowrisc-ci app installation access token suitable for our action
3233 ACCESS_TOKEN=$(curl -sSf -X POST -H "Authorization: Bearer $ID_TOKEN" ${{ inputs.ca_api_endpoint }})
33- echo "::add-mask::$ACCESS_TOKEN
34+ echo "::add-mask::$ACCESS_TOKEN"
3435 echo "token=$ACCESS_TOKEN" >> "$GITHUB_OUTPUT"
3536
3637outputs :
You can’t perform that action at this time.
0 commit comments