File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ jobs:
112
112
113
113
- name : Configure composer
114
114
run : |
115
- ([ -d ~/.composer ] || mkdir ~/.composer) && cp .github/composer-config.json ~/.composer/config.json
115
+ COMPOSER_HOME="$(composer config home)"
116
+ ([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"
116
117
echo "COMPOSER_ROOT_VERSION=$(grep branch-version composer.json | grep -o '[0-9.]*').x-dev" >> $GITHUB_ENV
117
118
118
119
- name : Determine composer cache directory
Original file line number Diff line number Diff line change @@ -60,8 +60,7 @@ before_install:
60
60
[ -d /usr/lib/openldap ] && ln -s /usr/lib/openldap /tmp/slapd-modules || ln -s /usr/lib/ldap /tmp/slapd-modules
61
61
fi
62
62
slapd -f src/Symfony/Component/Ldap/Tests/Fixtures/conf/slapd.conf -h ldap://localhost:3389 &
63
- [ -d ~/.composer ] || mkdir ~/.composer
64
- cp .github/composer-config.json ~/.composer/config.json
63
+ cp .github/composer-config.json "$(composer config home)/config.json"
65
64
export PHPUNIT=$(readlink -f ./phpunit)
66
65
export PHPUNIT_X="$PHPUNIT --exclude-group tty,benchmark,intl-data"
67
66
export COMPOSER_UP='composer update --no-progress --ansi'
You can’t perform that action at this time.
0 commit comments