Skip to content

Commit ee26ae3

Browse files
authored
Always echo matrix output (#55)
1 parent e0ccb99 commit ee26ae3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

action.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ runs:
116116
php-matrix composer --mode="${INPUT_MODE}" --source="${INPUT_SOURCE}" "${INPUT_COMPOSER_JSON}" > matrix 2>&1
117117
retVal=$?
118118
119-
echo "::group::===> Matrix Output"
120-
cat matrix
121-
echo "::endgroup::"
122-
123119
if [ $retVal -ne 0 ]; then
124120
echo "::error::Unable to generate matrix"
125121
exit 1
@@ -155,4 +151,9 @@ runs:
155151
echo "If you find this tool useful, I can build you more dev tools like this."
156152
echo "Let's talk if you are hiring PHP / Ruby / Go developers."
157153
echo -e "\033[32;m✓\033[0m \033[34;mTang Rufus\033[0m https://typist.tech/contact"
154+
155+
echo ""
156+
echo "::group::==> Matrix Output"
157+
cat matrix
158+
echo "::endgroup::"
158159
shell: bash

0 commit comments

Comments
 (0)