actions: fix typo in clang action
Fix a minor typo in action and always set variable controlling reports. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
5832a8e19f
commit
5ce51a91da
1 changed files with 3 additions and 1 deletions
4
.github/workflows/clang.yaml
vendored
4
.github/workflows/clang.yaml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
|||
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.13.1
|
||||
CLANG_ROOT_DIR: /usr/lib/llvm-12
|
||||
outputs:
|
||||
report_needed: ${{ steps.twsiter.outputs.report_needed }}
|
||||
report_needed: ${{ steps.twister.outputs.report_needed }}
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.6.0
|
||||
|
@ -74,6 +74,7 @@ jobs:
|
|||
if [ "$SC" = "full" ]; then
|
||||
# Full twister
|
||||
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} --retry-failed 2
|
||||
echo "::set-output name=report_needed::1";
|
||||
else
|
||||
# We can limit scope to just what has changed
|
||||
if [ -s modified_tests.args ]; then
|
||||
|
@ -81,6 +82,7 @@ jobs:
|
|||
sed -i '/--all/d' modified_tests.args
|
||||
# Full twister but with options based on changes
|
||||
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} +modified_tests.args --retry-failed 2
|
||||
echo "::set-output name=report_needed::1";
|
||||
else
|
||||
# if nothing is run, skip reporting step
|
||||
echo "::set-output name=report_needed::0";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue