diff --git a/.github/workflows/ports_syscfg_check.yml b/.github/workflows/ports_syscfg_check.yml index 66d47a2350..ac45718b39 100644 --- a/.github/workflows/ports_syscfg_check.yml +++ b/.github/workflows/ports_syscfg_check.yml @@ -58,15 +58,18 @@ jobs: run: | cd build ./repos/apache-mynewt-nimble/porting/update_generated_files.sh - cd repos/apache-mynewt-nimble + cd .. - name: Check ports syscfg (debug) shell: bash if: runner.debug == '1' run: | + cd build/repos/apache-mynewt-nimble git diff + cd .. - name: Check ports syscfg shell: bash run: | + cd build/repos/apache-mynewt-nimble git diff --quiet || (\ echo -e "\033[0;31mChanges in system configration files detected."; echo -e "\033[0;31mRun ./repos/apache-mynewt-nimble/porting/update_generated_files.sh" \