Skip to content

Commit 2ce7d0e

Browse files
execute phpenv script
1 parent 89168f1 commit 2ce7d0e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ jobs:
3030
run: PHPENV_ROOT=/usr/local/bin/phpenv
3131

3232
- name: install phpenv
33-
run: curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer
33+
run: curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash
3434

3535
- name: set phpenv
36-
run: export PATH="$HOME/.phpenv/bin:$PATH"
36+
run: |
37+
export PATH="$HOME/.phpenv/bin:$PATH"
38+
echo 'export PATH="$HOME/.phpenv/bin:$PATH"' >> ~/.bash_profile
3739
3840
- name: Create .ini file
3941
run: echo "extension = zip.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

0 commit comments

Comments
 (0)