-
Dear GitHub, would it be possible to set up Action worker nodes in a way that we already have the SSH Host Keys for GitHub services (repos, Gists) etc. available in either That would make workflows somewhat more straightforward when we e. g. need to fetch dependencies. Also, it would be more secure than having to run Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
Neat idea. I can see how this could help. We’ll take a look. |
Beta Was this translation helpful? Give feedback.
-
Did this end up happening? I’m still finding that I have to run the following command from inside my workflows to use Swift Package Manager:
|
Beta Was this translation helpful? Give feedback.
-
Hey @tonyarnold. Are you able to run Swift package tests with private dependencies? If so can you please share your approach since I can’t make it work for some reason GitHub runner do not use the package’s local .ssh folder and always fails to fetch dependencies. There is a related topic. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I am able to check out private Swift packages:
There is one other change you need to make if you’re using Xcode directly, rather than Swift Package Manager, and that is to pass the Once you’ve done this, you should be fine! |
Beta Was this translation helpful? Give feedback.
-
@tonyarnold I just want to thank you immensely. Finding your post, and your comment in regards to the |
Beta Was this translation helpful? Give feedback.
-
I managed to fix this issue by using ssh for all my private packages and also adding the following to my GitHub action workflow file:
|
Beta Was this translation helpful? Give feedback.
-
@tonyarnold I’m using Currently, I have tried and failed 😃 |
Beta Was this translation helpful? Give feedback.
Neat idea. I can see how this could help. We’ll take a look.