8000 Fix python 3.5 setup in workflow · jgm/pandocfilters@97bbee5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 97bbee5

Browse files
Felixoidjgm
authored andcommitted
Fix python 3.5 setup in workflow
See actions/setup-python#866 (comment)
1 parent f27f2b7 commit 97bbee5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@ jobs:
4444
# - 2.11.4
4545
# - 2.12
4646
- latest
47+
# The empty env for all python but 3.5
48+
pip-trusted-host: [""]
4749
include:
4850
- os: ubuntu-20.04
4951
python-version: 3.5
5052
pandoc-version: latest
53+
pip-trusted-host: "pypi.python.org pypi.org files.pythonhosted.org"
5154
- os: ubuntu-20.04
5255
python-version: 3.6
5356
pandoc-version: latest
@@ -59,6 +62,8 @@ jobs:
5962
uses: actions/setup-python@v4
6063
with:
6164
python-version: ${{ matrix.python-version }}
65+
env:
66+
PIP_TRUSTED_HOST: ${{ matrix.pip-trusted-host }}
6267
- name: Install examples' dependencies
6368
run: sudo apt update && sudo apt install abcm2ps graphviz graphviz-dev texlive-full
6469
- name: Install dependencies—pip

0 commit comments

Comments
 (0)
0