-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: HOME is not defined #184
Comments
I've got the same on a self-hosted runner. My workaround:
|
Hi, @gilShin @chekalsky
It looks strange... 🤔 |
same issue here, self-hosted ubuntu-latest |
I've fixed this issue by adding an env to the - name: Install SSH key
uses: shimataro/ssh-key-action@v2
env:
HOME: /root
with:
..... I only have this issue on a custom runner, not on the default Ubuntu runners provided by GitHub. |
I start my hosted runner and when it gets to the ssh-key-action step, I get the error message in the subject.
When I ssh into the runner and executes:
echo $HOME, I get /home/ubuntu as expected
What am I missing here?
The text was updated successfully, but these errors were encountered: