ci: ensure == compare is not empty on the left

This commit is contained in:
Zaiming (Stone) Shi 2023-05-05 21:49:15 +02:00
parent 1765c429c0
commit e739e3cadb
1 changed files with 2 additions and 1 deletions

View File

@ -270,7 +270,8 @@ jobs:
echo "pwd is $PWD"
PKGTYPES="tgz pkg"
IS_ELIXIR="no"
if [ ${{ matrix.release_with }} == 'elixir' ]; then
WITH_ELIXIR=${{ matrix.release_with }}
if [ "${WITH_ELIXIR:-}" == 'elixir' ]; then
PKGTYPES="tgz"
# set Elixir build flag
IS_ELIXIR="yes"