fix: use double quotes

This commit is contained in:
Tom Hu 2024-11-14 22:08:03 -05:00
parent 453bbab479
commit 7bee4bb711
No known key found for this signature in database
GPG key ID: 79155678363963D2

View file

@ -182,7 +182,7 @@ runs:
CC_BRANCH=${{ inputs.override_branch }}
is_Fork=$(${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }})
if [ -z $CC_BRANCH ] && [ -z $CODECOV_TOKEN ] && [ "$is_fork" == "true" ];
if [ -z "$CC_BRANCH" ] && [ -z "$CODECOV_TOKEN" ] && [ "$is_fork" == "true" ];
then
echo -e "\033[0;32m==>\033[0m Fork detected, tokenless uploading used"
TOKENLESS=${{ github.event.pull_request.head.label }};