mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-11 08:47:54 -06:00
✅ No error on changeless exit
This commit is contained in:
parent
13e364a286
commit
d629b75e65
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-pr.yml
vendored
2
.github/workflows/build-pr.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
||||||
DIRS=$(git diff --name-only --diff-filter=AMR origin/$BASE_BRANCH HEAD | grep -E ".+\.h" | while IFS= read -r f; do dirname "$f"; done | uniq)
|
DIRS=$(git diff --name-only --diff-filter=AMR origin/$BASE_BRANCH HEAD | grep -E ".+\.h" | while IFS= read -r f; do dirname "$f"; done | uniq)
|
||||||
|
|
||||||
# Exit if nothing testable changed
|
# Exit if nothing testable changed
|
||||||
[[ -z $DIRS ]] && { echo "No Configuration changes detected."; exit 3 ; }
|
[[ -z $DIRS ]] && { echo "No Configuration changes detected."; exit ; }
|
||||||
|
|
||||||
# Set DIRS in the persistent environment
|
# Set DIRS in the persistent environment
|
||||||
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV
|
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue