Fix syntax error in TorchHub workflow

This commit is contained in:
Sylvain Gugger 2022-04-18 07:54:00 -04:00
parent 6984848ed0
commit 3785f4665a

View File

@ -30,10 +30,10 @@ jobs:
key: v1-torch_hub-${{ hashFiles('setup.py') }}
- name: Create virtual environment on cache miss
if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m venv ~/venv && . ~/venv/bin/activate
pip install --upgrade pip
if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m venv ~/venv && . ~/venv/bin/activate
pip install --upgrade pip
- name: Install dependencies
run: |