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 fc34d1d commit cae327dCopy full SHA for cae327d
1 file changed
.github/workflows/php.yml
@@ -149,12 +149,12 @@ jobs:
149
- name: Get COMPOSER_ROOT_VERSION from composer.json branch alias
150
shell: bash
151
run: |
152
- echo ROOT_VERSION="$(composer config extra.branch-alias.dev-master)" >> "$env:GITHUB_ENV"
153
- if [ -z "{{ $env.ROOT_VERSION }}" ]; then
+ ROOT_VERSION=$(composer config extra.branch-alias.dev-master)
+ if [ -z "$ROOT_VERSION" ]; then
154
echo "Could not read extra.branch-alias.dev-master from composer.json" >&2
155
exit 1
156
fi
157
- echo "COMPOSER_ROOT_VERSION=${{ env.ROOT_VERSION }}" >> "$env:GITHUB_ENV"
+ echo "COMPOSER_ROOT_VERSION=$ROOT_VERSION" >> "$env:GITHUB_ENV"
158
159
- name: Cache composer dependencies
160
uses: actions/cache@v5
0 commit comments