From c7a93cd23ff68da520c407fb0e1f11e7e60a0565 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 8 Jan 2020 15:55:24 +0100 Subject: [PATCH] shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}" --- .github/workflows/update_directory_md.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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