Skip to content

Commit fb55313

Browse files
committed
[CI] Add failing when config contains errors or not found
This change voids hanging on waiting for SSH connections. Status code signal last error, so checking status after redirecting stream to sed affects previous status emitted by python command.
1 parent b169fb0 commit fb55313

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/qemu.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ jobs:
8585
run: qemu-img resize ./ubuntu-23.04-server-cloudimg-amd64.img +4G
8686
- name: Print qemu args
8787
run: |
88-
echo `python3 scripts/qemu/qemu_config.py scripts/qemu/configs/${{matrix.config}}.xml | sed s/''\''/'/g`
88+
# notice: should be sedded, but it hides status
89+
python3 scripts/qemu/qemu_config.py scripts/qemu/configs/${{matrix.config}}.xml
8990
- name: Run qemu
9091
run: |
9192
sudo qemu-system-x86_64 \

0 commit comments

Comments
 (0)