Skip to content

Commit

Permalink
Put quotes around ${{ inputs.token }} in action.yml (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder authored Dec 16, 2024
1 parent d93fc22 commit 34ef570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34ef570

Please sign in to comment.