Skip to content

Commit 7cd9627

Browse files
committed
ssh key debug
1 parent 71c3850 commit 7cd9627

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/unit_test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ jobs:
5050
5151
# Install torchstore
5252
eval "$(ssh-agent -s)"
53-
ssh-add - <<< '${SECRET_FORGE_GITHUB_CI_FOR_TORCHSTORE}'
53+
echo '${SECRET_FORGE_GITHUB_CI_FOR_TORCHSTORE}' >> torchstore_ssh_key
54+
chmod 600 torchstore_ssh_key
55+
# Print the first and last 2 lines of the key to make sure it's valid
56+
head -2 torchstore_ssh_key
57+
tail -2 torchstore_ssh_key
58+
ssh-add torchstore_ssh_key
5459
python -m pip install git+ssh://[email protected]/meta-pytorch/torchstore.git
5560
5661
# Install torchtitan

0 commit comments

Comments
 (0)