Skip to content

Commit cae327d

Browse files
committed
Fix build
1 parent fc34d1d commit cae327d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ jobs:
149149
- name: Get COMPOSER_ROOT_VERSION from composer.json branch alias
150150
shell: bash
151151
run: |
152-
echo ROOT_VERSION="$(composer config extra.branch-alias.dev-master)" >> "$env:GITHUB_ENV"
153-
if [ -z "{{ $env.ROOT_VERSION }}" ]; then
152+
ROOT_VERSION=$(composer config extra.branch-alias.dev-master)
153+
if [ -z "$ROOT_VERSION" ]; then
154154
echo "Could not read extra.branch-alias.dev-master from composer.json" >&2
155155
exit 1
156156
fi
157-
echo "COMPOSER_ROOT_VERSION=${{ env.ROOT_VERSION }}" >> "$env:GITHUB_ENV"
157+
echo "COMPOSER_ROOT_VERSION=$ROOT_VERSION" >> "$env:GITHUB_ENV"
158158
159159
- name: Cache composer dependencies
160160
uses: actions/cache@v5

0 commit comments

Comments
 (0)