We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac6db6 commit 1fce957Copy full SHA for 1fce957
entrypoint.sh
@@ -6,6 +6,9 @@ pint_install_command=("composer global require laravel/pint:PINT_VERSION --no-pr
6
if [[ "${INPUT_PINTVERSION}" ]]
7
then
8
pint_install_command="${pint_install_command/PINT_VERSION/${INPUT_PINTVERSION}}"
9
+elif [[ "${INPUT_USECOMPOSER}" ]]
10
+then
11
+ pint_install_command="${pint_install_command/PINT_VERSION/$(composer show --locked | grep 'laravel/pint' | awk '{print $2}')}"
12
else
13
pint_install_command="${pint_install_command/:PINT_VERSION/}"
14
fi
0 commit comments