trying to fix ansible pythons
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2025-11-23 01:44:09 +10:00
parent 629650d3b5
commit c2d8b54688

View File

@@ -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