fix(ci): resolve YAML syntax error in Forgejo workflow
Some checks failed
build-and-release / build (push) Failing after 10s
Some checks failed
build-and-release / build (push) Failing after 10s
- Replace heredoc with pipe to avoid YAML parsing errors - Fixes 'could not find expected ':' error on line 75
This commit is contained in:
parent
48d97e514e
commit
9d893619ef
1 changed files with 2 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
fi
|
||||
|
||||
: > /tmp/changed-services.txt
|
||||
while IFS= read -r f; do
|
||||
echo "$CHANGED_FILES" | while IFS= read -r f; do
|
||||
case "$f" in
|
||||
apps/gateway/*) echo gateway >> /tmp/changed-services.txt ;;
|
||||
apps/users/*) echo users >> /tmp/changed-services.txt ;;
|
||||
|
|
@ -71,9 +71,7 @@ jobs:
|
|||
apps/ugc_content_creators/*) echo ugc-content-creators >> /tmp/changed-services.txt ;;
|
||||
apps/cron/*) echo cron >> /tmp/changed-services.txt ;;
|
||||
esac
|
||||
done <<EOF2
|
||||
$CHANGED_FILES
|
||||
EOF2
|
||||
done
|
||||
|
||||
sort -u /tmp/changed-services.txt -o /tmp/changed-services.txt
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue