-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ded0793
commit 22786b5
Showing
1 changed file
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,22 @@ jobs: | |
gin --version | ||
git clone --depth 1 https://gin.g-node.org/NeuralEnsemble/elephant-data.git | ||
cd elephant-data | ||
gin add-remote primary gin:NeuralEnsemble/elephant-data | ||
set timeout 10 | ||
spawn gin add-remote primary gin:NeuralEnsemble/elephant-data | ||
expect { | ||
"Remote ssh://[email protected]:22/NeuralEnsemble/elephant-data does not exist. Would you like to create it?" { | ||
send "yes\r" | ||
expect eof | ||
} | ||
timeout { | ||
puts "Timeout occurred. Exiting." | ||
exit 1 | ||
} | ||
eof { | ||
puts "Command executed successfully." | ||
exit 0 | ||
} | ||
} | ||
gin getc . | ||
echo "dataset-path =$(pwd)"" >> $GITHUB_OUTPUT | ||
|