forked from loafle/openapi-generator-original
Conditionally install phpenv based on cache (#12030)
This commit is contained in:
parent
41451ff5ee
commit
9aaf30e0f2
@ -92,7 +92,9 @@ before_install:
|
||||
- sudo apt-get install libonig-dev libzip-dev
|
||||
- git clone https://github.com/php-build/php-build $(phpenv root)/plugins/php-build
|
||||
- git clone https://github.com/ngyuki/phpenv-composer.git $(phpenv root)/plugins/phpenv-composer
|
||||
#- phpenv install 8.1.4
|
||||
- if [ $(ls -A "$HOME/.phpenv/versions/8.1.4" | wc -l) -eq 0 ]; then
|
||||
phpenv install 8.1.4;
|
||||
fi;
|
||||
- phpenv rehash
|
||||
- phpenv versions
|
||||
#- phpenv global 7.2.15
|
||||
|
Loading…
x
Reference in New Issue
Block a user