trying to fix ansible pythons
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
This commit is contained in:
@@ -30,17 +30,18 @@ jobs:
|
|||||||
git pull
|
git pull
|
||||||
echo "PYENV_ROOT=\"/root/.pyenv\"" >> $GITHUB_ENV
|
echo "PYENV_ROOT=\"/root/.pyenv\"" >> $GITHUB_ENV
|
||||||
echo "PATH=\"/root/.pyenv/bin:$PATH\"" >> $GITHUB_ENV
|
echo "PATH=\"/root/.pyenv/bin:$PATH\"" >> $GITHUB_ENV
|
||||||
cat $GITHUB_ENV
|
|
||||||
source $GITHUB_ENV
|
source $GITHUB_ENV
|
||||||
cd /usr/share/ansible-repo/
|
cd /usr/share/ansible-repo/
|
||||||
eval "$(/root/.pyenv/bin/pyenv init --path)"
|
eval "$(/root/.pyenv/bin/pyenv init --path)"
|
||||||
eval "$(/root/.pyenv/bin/pyenv virtualenv-init -)"
|
eval "$(/root/.pyenv/bin/pyenv virtualenv-init -)"
|
||||||
pyenv global 3.14.0
|
pyenv global 3.14.0
|
||||||
python3 --version
|
python3 --version
|
||||||
|
/root/.pyenv/shims/pip3 freeze
|
||||||
pip3 freeze
|
pip3 freeze
|
||||||
shell: bash
|
shell: bash
|
||||||
#./playbooker.sh
|
#./playbooker.sh
|
||||||
|
|
||||||
|
#cat $GITHUB_ENV
|
||||||
#pyenv install 3.14.0
|
#pyenv install 3.14.0
|
||||||
|
|
||||||
# - name: common-setup-just-created
|
# - name: common-setup-just-created
|
||||||
|
|||||||
Reference in New Issue
Block a user