Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 authored Feb 24, 2024
1 parent 4c764f3 commit 76e89e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fi

# build
BUILD_ARTIFACTS_FOLDER=build-artifacts-$(date +%s)
if [ ${INPUT_MULTI_BINARIES} == "TRUE" ]; then
if [ ${INPUT_MULTI_BINARIES^^} == 'TRUE' ]; then
RELEASE_ASSET_DIR=${BUILD_ARTIFACTS_FOLDER}
mkdir -p ${RELEASE_ASSET_DIR}

Expand Down Expand Up @@ -136,7 +136,7 @@ fi
if [ ! -z "${INPUT_EXTRA_FILES}" ]; then
cd ${GITHUB_WORKSPACE}
cp -r ${INPUT_EXTRA_FILES} ${RELEASE_ASSET_DIR}/
if [ ! ${INPUT_MULTI_BINARIES} == "TRUE" ]; then
if [ ! ${INPUT_MULTI_BINARIES^^} == 'TRUE' ]; then
cd ${INPUT_PROJECT_PATH}
fi
fi
Expand Down

0 comments on commit 76e89e2

Please sign in to comment.