Skip to content

Commit 5ce51a9

Browse files
committed
actions: fix typo in clang action
Fix a minor typo in action and always set variable controlling reports. Signed-off-by: Anas Nashif <[email protected]>
1 parent 5832a8e commit 5ce51a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/clang.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.13.1
2525
CLANG_ROOT_DIR: /usr/lib/llvm-12
2626
outputs:
27-
report_needed: ${{ steps.twsiter.outputs.report_needed }}
27+
report_needed: ${{ steps.twister.outputs.report_needed }}
2828
steps:
2929
- name: Cancel Previous Runs
3030
uses: styfle/[email protected]
@@ -74,13 +74,15 @@ jobs:
7474
if [ "$SC" = "full" ]; then
7575
# Full twister
7676
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} --retry-failed 2
77+
echo "::set-output name=report_needed::1";
7778
else
7879
# We can limit scope to just what has changed
7980
if [ -s modified_tests.args ]; then
8081
# we are working with one platform at a time
8182
sed -i '/--all/d' modified_tests.args
8283
# Full twister but with options based on changes
8384
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} +modified_tests.args --retry-failed 2
85+
echo "::set-output name=report_needed::1";
8486
else
8587
# if nothing is run, skip reporting step
8688
echo "::set-output name=report_needed::0";

0 commit comments

Comments
 (0)