Skip to content

Commit 23c319e

Browse files
authored
Merge pull request yukinarit#124 from yukinarit/fix-pip-error
ci: Fix pip install error
2 parents 127f214 + c912429 commit 23c319e

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
uses: actions/setup-python@v2
2020
with:
2121
python-version: 3.7
22-
- name: Restore pip cache
23-
uses: actions/cache@v2
24-
with:
25-
path: ${{ env.pythonLocation }}
26-
key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
22+
# - name: Restore pip cache
23+
# uses: actions/cache@v2
24+
# with:
25+
# path: ${{ env.pythonLocation }}
26+
# key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
2727
- name: Install dependencies
2828
run: |
2929
pip install pipenv

.github/workflows/test.yml

+22-22
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
uses: actions/setup-python@v2
1919
with:
2020
python-version: ${{ matrix.python-version }}
21-
- name: Restore pip cache
22-
# Caching on Windows is turned off due to inconsistent behaviour
23-
if: matrix.os != 'windows-2019'
24-
uses: actions/cache@v2
25-
with:
26-
path: ${{ env.pythonLocation }}
27-
key: ${{ matrix.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
21+
# - name: Restore pip cache
22+
# # Caching on Windows is turned off due to inconsistent behaviour
23+
# if: matrix.os != 'windows-2019'
24+
# uses: actions/cache@v2
25+
# with:
26+
# path: ${{ env.pythonLocation }}
27+
# key: ${{ matrix.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
2828
- name: Install dependencies
2929
run: |
3030
pip install pipenv
@@ -47,11 +47,11 @@ jobs:
4747
uses: actions/setup-python@v2
4848
with:
4949
python-version: 3.7
50-
- name: Restore pip cache
51-
uses: actions/cache@v2
52-
with:
53-
path: ${{ env.pythonLocation }}
54-
key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/.pre-commit-config.yaml', '**/pyproject.toml') }}
50+
# - name: Restore pip cache
51+
# uses: actions/cache@v2
52+
# with:
53+
# path: ${{ env.pythonLocation }}
54+
# key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/.pre-commit-config.yaml', '**/pyproject.toml') }}
5555
- name: Install dependencies
5656
run: |
5757
pip install pre-commit
@@ -76,11 +76,11 @@ jobs:
7676
uses: actions/setup-python@v2
7777
with:
7878
python-version: 3.7
79-
- name: Restore pip cache
80-
uses: actions/cache@v2
81-
with:
82-
path: ${{ env.pythonLocation }}
83-
key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
79+
# - name: Restore pip cache
80+
# uses: actions/cache@v2
81+
# with:
82+
# path: ${{ env.pythonLocation }}
83+
# key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
8484
- name: Install dependencies
8585
run: |
8686
pip install pipenv
@@ -101,11 +101,11 @@ jobs:
101101
uses: actions/setup-python@v2
102102
with:
103103
python-version: 3.7
104-
- name: Restore pip cache
105-
uses: actions/cache@v2
106-
with:
107-
path: ${{ env.pythonLocation }}
108-
key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
104+
# - name: Restore pip cache
105+
# uses: actions/cache@v2
106+
# with:
107+
# path: ${{ env.pythonLocation }}
108+
# key: ubuntu-20.04-${{ env.pythonLocation }}-${{ hashFiles('**/Pipfile') }}
109109
- name: Install dependencies
110110
run: |
111111
pip install pipenv

0 commit comments

Comments
 (0)