Skip to content

Commit

Permalink
use previous caching as the requirements are not in the standard loca…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
thomasbird committed Sep 1, 2023
1 parent 926dcf9 commit 3560db5
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install apt dependencies
run: |
Expand All @@ -53,14 +52,12 @@ jobs:
git clone https://github.com/openvenues/libpostal ${{ env.LIBPOSTAL }} && cd ${{ env.LIBPOSTAL }} &&
./bootstrap.sh && ./configure --prefix=${{ env.PREFIX }} && sudo make -j4 && sudo make install && cd - ; fi
# - name: Cache restore pip
# id: cache-pip
# uses: actions/cache@v2
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('requirements/python*') }}
# restore-keys: |
# ${{ runner.os }}-pip-
- name: Cache restore pip
id: cache-pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/python*') }}

- name: Install pip dependencies
run: |
Expand Down

0 comments on commit 3560db5

Please sign in to comment.