diff --git a/.github/workflows/update_directory_md.yml b/.github/workflows/update_directory_md.yml index b006d1032..1d63374b0 100644 --- a/.github/workflows/update_directory_md.yml +++ b/.github/workflows/update_directory_md.yml @@ -5,12 +5,10 @@ jobs: update_directory_md: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - shell: python # Legacy Python 2.7.15 :-( - run: import sys ; print("Python {}.{}.{}".format(*sys.version_info)) - - shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}" - run: import sys ; print("Python {}.{}.{}".format(*sys.version_info)) - - shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}" + - uses: actions/checkout@v2 + - uses: actions/setup-python@v1 + - name: update_directory_md + shell: python run: | import os from typing import Iterator