Skip to content

Commit

Permalink
[BE] fix: json 파싱 이슈 해결 (#24)
Browse files Browse the repository at this point in the history
Signed-off-by: EunJiJung <[email protected]>
  • Loading branch information
bianbbc87 committed Feb 4, 2025
1 parent 45e9a10 commit 7e98afc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/be-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
run: |
CHANGED_SERVICES='${{ needs.check-folder-change.outputs.changed_services }}'
SERVICE_NAME='${{ matrix.name }}'
if [[ "$(echo $CHANGED_SERVICES | jq -r .[$SERVICE_NAME])" != "true" ]]; then
SERVICE_CHANGED=$(echo "$CHANGED_SERVICES" | jq -r '."'"$SERVICE_NAME"'"')
if [[ "$SERVICE_CHANGED" != "true" ]]; then
echo "No changes detected for $SERVICE_NAME, skipping job."
exit 1
fi
Expand Down

0 comments on commit 7e98afc

Please sign in to comment.