Skip to content

Commit ab9175c

Browse files
committed
Fix build
1 parent f8e0d63 commit ab9175c

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
@@ -148,12 +148,12 @@ jobs:
148148

149149
- name: Get COMPOSER_ROOT_VERSION from composer.json branch alias
150150
run: |
151-
ROOT_VERSION=$(composer config extra.branch-alias.dev-master)
152-
if [ -z "$ROOT_VERSION" ]; then
151+
echo ROOT_VERSION="$(composer config extra.branch-alias.dev-master)" >> "$env:ROOT_VERSION"
152+
if [ -z "${{ env.ROOT_VERSION }}" ]; then
153153
echo "Could not read extra.branch-alias.dev-master from composer.json" >&2
154154
exit 1
155155
fi
156-
echo "COMPOSER_ROOT_VERSION=$ROOT_VERSION" >> "$GITHUB_ENV"
156+
echo "COMPOSER_ROOT_VERSION=${{ env.ROOT_VERSION }}" >> "$env:GITHUB_ENV"
157157
158158
- name: Cache composer dependencies
159159
uses: actions/cache@v5

0 commit comments

Comments
 (0)