mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 04:00:51 +00:00
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
|
- 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/php-build/php-build $(phpenv root)/plugins/php-build
|
||||||
- git clone https://github.com/ngyuki/phpenv-composer.git $(phpenv root)/plugins/phpenv-composer
|
- 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 rehash
|
||||||
- phpenv versions
|
- phpenv versions
|
||||||
#- phpenv global 7.2.15
|
#- phpenv global 7.2.15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user