Skip to content

Commit

Permalink
try 8
Browse files Browse the repository at this point in the history
  • Loading branch information
lastlink committed Jul 19, 2024
1 parent a984e3b commit e8be557
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ jobs:
- name: install phpenv
run: |
curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | PHPENV_ROOT=$HOME/.phpenv-root bash
echo 'export PATH="${PHPENV_ROOT}/bin:${PATH}"' >> ~/.bash_profile
FILE="$PHPENV_ROOT/bin/phpenv"
if [ -f "$FILE" ]; then
echo "$FILE exists."
fi
export PATH="${PHPENV_ROOT}/bin:${PATH}"
eval "$($PHPENV_ROOT/bin/phpenv init -)"
mkdir -p $HOME/.local/bin && ln -s $HOME/.phpenv-root/bin/phpenv $HOME/.local/bin/phpenv
eval "$(phpenv init -)"
exec $SHELL -l
# echo 'export PATH="${PHPENV_ROOT}/bin:${PATH}"' >> ~/.bash_profile
# FILE="$PHPENV_ROOT/bin/phpenv"
# if [ -f "$FILE" ]; then
# echo "$FILE exists."
# fi
# export PATH="${PHPENV_ROOT}/bin:${PATH}"

# source ~/.bash_profile
# - name: ls $PHPENV_ROOT
Expand Down

0 comments on commit e8be557

Please sign in to comment.