Ci GitHub caching (#6382)

* Cache Github Actions CI

* Remove useless file
This commit is contained in:
Lysandre Debut
2020-08-10 10:39:31 -04:00
committed by GitHub
parent b99098abc7
commit 79588e6fdb
4 changed files with 26 additions and 20 deletions

View File

@@ -18,6 +18,14 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Loading cache
uses: actions/cache@v2
id: cache
with:
path: ~/.cache/pip
key: v0-torch_hub-${{ hashFiles('setup.py') }}
- name: Install dependencies
run: |
pip install --upgrade pip