update_directory_md.yml: Remove GH Actions workaround

This commit is contained in:
Christian Clauss 2020-01-27 22:33:41 +01:00 committed by GitHub
parent 9a1144dcd7
commit 5960fe1db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,12 +5,10 @@ jobs:
update_directory_md: update_directory_md:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- shell: python # Legacy Python 2.7.15 :-( - uses: actions/setup-python@v1
run: import sys ; print("Python {}.{}.{}".format(*sys.version_info)) - name: update_directory_md
- shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}" 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: | run: |
import os import os
from typing import Iterator from typing import Iterator