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:
commit
403424d60b
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue