Skip to content

Commit 8b3d115

Browse files
committed
Fix setup-python installation error with 3.5
See actions/setup-python#866 actions/setup-python#866 (comment)
1 parent c0efcc0 commit 8b3d115

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
include:
1515
- python-version: '3.5'
1616
os: 'ubuntu-20.04'
17+
pip-trusted-host: 'pypi.python.org pypi.org files.pythonhosted.org'
1718
- python-version: '3.6'
1819
os: 'ubuntu-20.04'
1920

@@ -24,6 +25,8 @@ jobs:
2425
uses: actions/setup-python@v4
2526
with:
2627
python-version: ${{ matrix.python-version }}
28+
env:
29+
PIP_TRUSTED_HOST: ${{ matrix.pip-trusted-host }}
2730

2831
- name: Install dependencies
2932
run: |

0 commit comments

Comments
 (0)