Skip to content

Commit 3409396

Browse files
Update build.yml
1 parent b52364a commit 3409396

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,9 @@ jobs:
5757
with:
5858
python-version: ${{ matrix.python-version }}
5959

60-
- uses: actions/cache@v1
61-
id: depcache
62-
with:
63-
path: deps
64-
key: requirements-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
65-
66-
- name: Download dependencies
67-
if: steps.depcache.outputs.cache-hit != 'true'
68-
run: |
69-
pip download --dest=deps -r requirements.txt
70-
7160
- name: Install dependencies
7261
run: |
73-
PYVER=`python -V 2>&1`
74-
75-
if [ "${PYVER:0:-2}" == "Python 3.10" ]; then
76-
pip install -r requirements.txt
77-
else
78-
pip install -U --no-index --find-links=deps deps/*
79-
fi
62+
pip install -r requirements.txt
8063
8164
- name: Run tests
8265
run: |

0 commit comments

Comments
 (0)