Adding jEnv to $BASH_ENV
which jenv or
jenv versions before they are added to
$BASH_ENV will cause a build to fail.
To resolve this you can add the following commands to clone
jenv and setup
steps: - run: git clone https://github.com/jenv/jenv.git ~/.jenv - run: | echo "export PATH=$HOME/.jenv/bin:$PATH" >> $BASH_ENV echo "eval $(jenv init -)" >> $BASH_ENV - run: | which jenv jenv versions
jenv commands will now run successfully.
Article is closed for comments.