update cache key
@@ -29,9 +29,9 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache/ # This path is specific to Ubuntu
- key: packages-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }} # Look to see if there is a cache hit for the corresponding requirements file
+ key: packages_v2-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }} # Look to see if there is a cache hit for the corresponding requirements file
restore-keys: |
- packages-${{ runner.os }}-${{ matrix.python-version }}- # Pip install first will make setup.py much faster and the cache will make pip install fast
+ packages_v2-${{ runner.os }}-${{ matrix.python-version }}- # Pip install first will make setup.py much faster and the cache will make pip install fast
- name: Install Covasim
run: |
python setup.py develop --install-dir ~/.cache/site-packages
