Skip to content

Commit 53349b2

Browse files
committed
check actual command
1 parent aefbbe9 commit 53349b2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/internal-validate-workflow-files.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,18 @@ jobs:
3434
- name: Generate Workflow Files (Test Feature)
3535
shell: bash
3636
run: |
37-
qlt test init --use-runner ubuntu-latest --num-threads 4 --language cpp --automation-type actions --development --overwrite-existing
37+
if ! qlt test init --use-runner ubuntu-latest --num-threads 4 --language cpp --automation-type actions --development --overwrite-existing ; then
38+
echo "Failed to generate test workflow files."
39+
exit 1
40+
fi
3841
3942
- name: Generate Workflow Files (Validation Feature)
4043
shell: bash
4144
run: |
42-
qlt validation init --use-runner ubuntu-latest --language cpp --automation-type actions --development --overwrite-existing
45+
if ! qlt validation init --use-runner ubuntu-latest --language cpp --automation-type actions --development --overwrite-existing ; then
46+
echo "Failed to generate validation workflow files."
47+
exit 1
48+
fi
4349
4450
- name: Check Git Clean Status
4551
shell: bash

0 commit comments

Comments
 (0)