mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
Compare commits
7 Commits
v5.5.1
...
th/do-not-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc5663ec8d | ||
|
|
7f49fedfd5 | ||
|
|
038c89eb32 | ||
|
|
3717491f16 | ||
|
|
78f3eea7c7 | ||
|
|
5cc3f56186 | ||
|
|
08502218f2 |
@@ -163,10 +163,10 @@ runs:
|
||||
- name: Get and set token
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ${{ inputs.use_oidc }} == 'true' ];
|
||||
if [ "${{ inputs.use_oidc }}" == 'true' ];
|
||||
then
|
||||
# {"count":1984,"value":"***"}
|
||||
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)
|
||||
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
|
||||
else
|
||||
if [ -n ${{ inputs.token }} ];
|
||||
|
||||
Reference in New Issue
Block a user