Merge pull request #8171 from antonblr/fix-ci-setup-python

infra: Temporary pin setup-python GH action to v2.1.4
This commit is contained in:
Bruno Oliveira 2020-12-18 08:02:44 -03:00 committed by GitHub
commit 403424d60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View File

@ -123,7 +123,8 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
uses: actions/setup-python@v2.1.4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
@ -158,7 +159,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
- uses: actions/setup-python@v2.1.4
- name: set PY
run: echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
- uses: actions/cache@v2
@ -184,7 +186,8 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
uses: actions/setup-python@v2.1.4
with:
python-version: "3.7"
- name: Install dependencies

View File

@ -22,7 +22,8 @@ jobs:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
uses: actions/setup-python@v2.1.4
with:
python-version: "3.8"

View File

@ -19,7 +19,8 @@ jobs:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
uses: actions/setup-python@v2.1.4
with:
python-version: "3.8"
- name: Install dependencies