Skip to content

Commit

Permalink
Workaround for pip with Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jun66j5 committed May 27, 2024
1 parent c7b5b6b commit 5df62b0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Workaround for pip with Python 3.5
if: ${{ matrix.python-version == '3.5' }}
run: |
echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org' >>"$GITHUB_ENV"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -175,6 +180,11 @@ jobs:
ref: v1.4
path: py3c

- name: Workaround for pip with Python 3.5
if: ${{ matrix.python-version == '3.5' }}
run: |
echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org' >>"$GITHUB_ENV"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 5df62b0

Please sign in to comment.