From 31cb7fe222b5ac14af96bc3aeac3315d2125612c Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 27 Jan 2020 22:48:41 +0100 Subject: [PATCH] update_directory_md.yml: Remove GH Actions workaround --- .github/workflows/update_directory_md.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update_directory_md.yml b/.github/workflows/update_directory_md.yml index 4274709d0..88a49efe6 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@master + - uses: actions/setup-python@master + - name: update_directory_md + shell: python run: | import os from typing import Iterator