mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-07 19:47:25 +00:00
Put quotes around ${{ inputs.token }} in action.yml (#1721)
This commit is contained in:
parent
d93fc22ce0
commit
34ef57048d
1 changed files with 2 additions and 2 deletions
|
|
@ -177,9 +177,9 @@ runs:
|
|||
then
|
||||
echo "CC_TOKEN=${{ env.CODECOV_TOKEN }}" >> "$GITHUB_ENV"
|
||||
else
|
||||
if [ -n ${{ inputs.token }} ];
|
||||
if [ -n "${{ inputs.token }}" ];
|
||||
then
|
||||
CC_TOKEN=$(echo ${{ inputs.token }} | tr -d '\n')
|
||||
CC_TOKEN=$(echo "${{ inputs.token }}" | tr -d '\n')
|
||||
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue