trying to fix ansible pythons
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
This commit is contained in:
@@ -28,8 +28,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd /usr/share/ansible-repo/
|
cd /usr/share/ansible-repo/
|
||||||
git pull
|
git pull
|
||||||
echo "source sourceme.sh" >> $GITHUB_ENV
|
echo "PYENV_ROOT=\"/root/.pyenv\"" >> $GITHUB_ENV
|
||||||
|
echo "PATH=\"/root/.pyenv/bin:$PATH\"" >> $GITHUB_ENV
|
||||||
|
cat $GITHUB_ENV
|
||||||
source $GITHUB_ENV
|
source $GITHUB_ENV
|
||||||
|
cd /usr/share/ansible-repo/
|
||||||
|
eval "$(/root/.pyenv/bin/pyenv init --path)"
|
||||||
|
eval "$(/root/.pyenv/bin/pyenv virtualenv-init -)"
|
||||||
python3 --version
|
python3 --version
|
||||||
shell: bash
|
shell: bash
|
||||||
#./playbooker.sh
|
#./playbooker.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user