mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-16 11:08:23 +06:00
Fix syntax error in TorchHub workflow
This commit is contained in:
parent
6984848ed0
commit
3785f4665a
8
.github/workflows/github-torch-hub.yml
vendored
8
.github/workflows/github-torch-hub.yml
vendored
@ -30,10 +30,10 @@ jobs:
|
|||||||
key: v1-torch_hub-${{ hashFiles('setup.py') }}
|
key: v1-torch_hub-${{ hashFiles('setup.py') }}
|
||||||
|
|
||||||
- name: Create virtual environment on cache miss
|
- name: Create virtual environment on cache miss
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
python -m venv ~/venv && . ~/venv/bin/activate
|
python -m venv ~/venv && . ~/venv/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user