diff --git a/.github/workflows/update_directory_md.yml b/.github/workflows/update_directory_md.yml index e8a7336e6..d0f31884e 100644 --- a/.github/workflows/update_directory_md.yml +++ b/.github/workflows/update_directory_md.yml @@ -8,11 +8,14 @@ jobs: - uses: actions/checkout@v1 - shell: python run: import sys ; print("Python {}.{}.{}".format(*sys.version_info)) - - name: Upgrade to Python 3.8 - run: sudo update-alternatives --install /usr/bin/python python ${pythonLocation}/bin/python3.8 10 - - shell: python + - # name: Upgrade to Python 3.8 + # run: sudo update-alternatives --install /usr/bin/python python ${pythonLocation}/bin/python3.8 10 + # shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}" + - shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}" run: import sys ; print("Python {}.{}.{}".format(*sys.version_info)) - shell: python + run: import sys ; print("Python {}.{}.{}".format(*sys.version_info)) + - shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}" run: | import os from typing import Iterator