File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,17 @@ jobs:
32
32
- name : install phpenv
33
33
run : |
34
34
curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | PHPENV_ROOT=$HOME/.phpenv-root bash
35
- echo 'export PATH="${PHPENV_ROOT}/bin:${PATH}"' >> ~/.bash_profile
36
- FILE="$PHPENV_ROOT/bin/phpenv"
37
- if [ -f "$FILE" ]; then
38
- echo "$FILE exists."
39
- fi
40
- export PATH="${PHPENV_ROOT}/bin:${PATH}"
41
- eval "$($PHPENV_ROOT/bin/phpenv init -)"
35
+ mkdir -p $HOME/.local/bin && ln -s $HOME/.phpenv-root/bin/phpenv $HOME/.local/bin/phpenv
36
+ eval "$(phpenv init -)"
42
37
exec $SHELL -l
38
+
39
+
40
+ # echo 'export PATH="${PHPENV_ROOT}/bin:${PATH}"' >> ~/.bash_profile
41
+ # FILE="$PHPENV_ROOT/bin/phpenv"
42
+ # if [ -f "$FILE" ]; then
43
+ # echo "$FILE exists."
44
+ # fi
45
+ # export PATH="${PHPENV_ROOT}/bin:${PATH}"
43
46
44
47
# source ~/.bash_profile
45
48
# - name: ls $PHPENV_ROOT
You can’t perform that action at this time.
0 commit comments