mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-25 10:12:13 +03:00
ci: fix syntax issues in zfs-qemu.yml
Otherwise it might become `if [ == "" ]` which is ill-formed. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Shengqi Chen <harry-chen@outlook.com> Closes #17695
This commit is contained in:
parent
0c9302b042
commit
f4a85d6f2c
7
.github/workflows/zfs-qemu.yml
vendored
7
.github/workflows/zfs-qemu.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
os_selection="$FULL_OS"
|
os_selection="$FULL_OS"
|
||||||
fi
|
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
|
# They specified a custom kernel version for Fedora. Use only
|
||||||
# Fedora runners.
|
# Fedora runners.
|
||||||
os_json=$(echo ${os_selection} | jq -c '[.[] | select(startswith("fedora"))]')
|
os_json=$(echo ${os_selection} | jq -c '[.[] | select(startswith("fedora"))]')
|
||||||
@ -53,9 +53,8 @@ jobs:
|
|||||||
os_json=$(echo ${os_selection} | jq -c)
|
os_json=$(echo ${os_selection} | jq -c)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $os_json
|
echo "os=$os_json" | tee -a $GITHUB_OUTPUT
|
||||||
echo "os=$os_json" >> $GITHUB_OUTPUT
|
echo "ci_type=$ci_type" | tee -a $GITHUB_OUTPUT
|
||||||
echo "ci_type=$ci_type" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
qemu-vm:
|
qemu-vm:
|
||||||
name: qemu-x86
|
name: qemu-x86
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user