Skip to content

Commit fe534b5

Browse files
committed
fix(workflow): ensure script exits on compiler conversion failure
- Removed `--stream` option from the `bolt` command. - Added `exit 1` to terminate the script if the compiler conversion fails.
1 parent f4c6b6a commit fe534b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-upgrade-legacy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ jobs:
120120
--modulepath spec/fixtures/modules \
121121
--no-host-key-check \
122122
primary_host=$primary \
123-
legacy_hosts=$compiler \
124-
--stream
123+
legacy_hosts=$compiler
125124
echo ::endgroup::
126125
- name: Check if compiler is converted
127126
timeout-minutes: 120
@@ -145,6 +144,7 @@ jobs:
145144
if [ "$compiler" != "$legacy_compiler" ]
146145
then
147146
echo "Compiler conversion failed, expected $compiler, got $legacy_compiler"
147+
exit 1
148148
fi
149149
echo ::endgroup::
150150
- name: Tear down test cluster

0 commit comments

Comments
 (0)