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