CI: Fix Composer root version guessing (again)
This commit is contained in:
parent
cb2cf3a4a3
commit
998f0d1dbd
1 changed files with 2 additions and 2 deletions
4
.github/actions/install/action.yml
vendored
4
.github/actions/install/action.yml
vendored
|
@ -51,8 +51,8 @@ runs:
|
||||||
COMPOSER_ROOT_VERSION=
|
COMPOSER_ROOT_VERSION=
|
||||||
|
|
||||||
COMPOSER_ROOT_VERSION="$(composer config \
|
COMPOSER_ROOT_VERSION="$(composer config \
|
||||||
extra.branch-alias."dev-${GITHUB_HEAD_REF:-GITHUB_REF_NAME}" \
|
extra.branch-alias."dev-${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}" \
|
||||||
2> /dev/null)"
|
2> /dev/null || true)"
|
||||||
|
|
||||||
if [ -z "$COMPOSER_ROOT_VERSION" ]; then
|
if [ -z "$COMPOSER_ROOT_VERSION" ]; then
|
||||||
COMPOSER_ROOT_VERSION="$(php -r "
|
COMPOSER_ROOT_VERSION="$(php -r "
|
||||||
|
|
Loading…
Reference in a new issue