Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
3785f466
Commit
3785f466
authored
Apr 18, 2022
by
Sylvain Gugger
Browse files
Fix syntax error in TorchHub workflow
parent
6984848e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.github/workflows/github-torch-hub.yml
.github/workflows/github-torch-hub.yml
+4
-4
No files found.
.github/workflows/github-torch-hub.yml
View file @
3785f466
...
@@ -30,10 +30,10 @@ jobs:
...
@@ -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
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment