From f4a85d6f2c9edf4ee77c464a7bc5855e6204514c Mon Sep 17 00:00:00 2001 From: Shengqi Chen Date: Thu, 4 Sep 2025 11:18:01 +0800 Subject: [PATCH] ci: fix syntax issues in zfs-qemu.yml Otherwise it might become `if [ == "" ]` which is ill-formed. Reviewed-by: Brian Behlendorf Reviewed-by: Tony Hutter Signed-off-by: Shengqi Chen Closes #17695 --- .github/workflows/zfs-qemu.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/zfs-qemu.yml b/.github/workflows/zfs-qemu.yml index a071c26a0..a5dbfc099 100644 --- a/.github/workflows/zfs-qemu.yml +++ b/.github/workflows/zfs-qemu.yml @@ -44,7 +44,7 @@ jobs: os_selection="$FULL_OS" fi - if [ ${{ github.event.inputs.fedora_kernel_ver }} != "" ] ; then + if ${{ github.event.inputs.fedora_kernel_ver != '' }}; then # They specified a custom kernel version for Fedora. Use only # Fedora runners. os_json=$(echo ${os_selection} | jq -c '[.[] | select(startswith("fedora"))]') @@ -53,9 +53,8 @@ jobs: os_json=$(echo ${os_selection} | jq -c) fi - echo $os_json - echo "os=$os_json" >> $GITHUB_OUTPUT - echo "ci_type=$ci_type" >> $GITHUB_OUTPUT + echo "os=$os_json" | tee -a $GITHUB_OUTPUT + echo "ci_type=$ci_type" | tee -a $GITHUB_OUTPUT qemu-vm: name: qemu-x86