Skip to content

Commit 1dc61e1

Browse files
committed
Fix for parsing plugin version.
1 parent 355ca78 commit 1dc61e1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/code-quality.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,12 @@ jobs:
9696
PHP_VERSION="$DETECTED_VERSION"
9797
fi
9898
fi
99-
echo "php-version=${PHP_VERSION}" >> "$GITHUB_OUTPUT"
99+
# Use a heredoc to safely set the output, preventing format errors
100+
{
101+
echo 'plugins<<EOF'
102+
echo "${PLUGINS_WITH_CONFIG}"
103+
echo 'EOF'
104+
} >> "$GITHUB_OUTPUT"
100105
echo "Using PHP version ${PHP_VERSION} for ${{ matrix.plugin }}"
101106
102107
- name: PHP Code Quality for ${{ matrix.plugin }}

0 commit comments

Comments
 (0)