Skip to content

Commit cc94c46

Browse files
Add shell to lowrisc_ci_app_get_token action steps
Signed-off-by: Harry Callahan <[email protected]>
1 parent 0551647 commit cc94c46

File tree

1 file changed

+2
-1
lines changed
  • .github/actions/lowrisc_ci_app_get_token

1 file changed

+2
-1
lines changed

.github/actions/lowrisc_ci_app_get_token/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
3637
outputs:

0 commit comments

Comments
 (0)