Skip to content

Commit 69c6135

Browse files
committed
fix dryrun bug
1 parent 5e81bf7 commit 69c6135

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/onestep.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ set -e
99
export LIB_NAME=$1
1010
export PLAT=$2
1111

12-
if [[ -z $3 && $3 == 'true' ]];then
13-
export DRYRUN=1
12+
if [[ -n $3 && "$3" == 'true' ]];then
13+
export DRYRUN=1
1414
else
1515
export DRYRUN=
1616
fi

0 commit comments

Comments
 (0)