We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8603fa commit 28b3165Copy full SHA for 28b3165
action.yml
@@ -163,10 +163,10 @@ runs:
163
- name: Get and set token
164
shell: bash
165
run: |
166
- if [ ${{ inputs.use_oidc }} == 'true' ];
+ if [ "${{ inputs.use_oidc }}" == 'true' ];
167
then
168
# {"count":1984,"value":"***"}
169
- CC_TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=api://AzureADTokenExchange" | cut -d\" -f6)
+ CC_TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=https://codecov.io" | cut -d\" -f6)
170
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
171
else
172
if [ -n ${{ inputs.token }} ];
0 commit comments