mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-04-24 15:02:13 +00:00
Added home equivalent for windows
This commit is contained in:
parent
780d0ee9a3
commit
30f1ccbb4c
1 changed files with 1 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -121,7 +121,7 @@ const fs = __webpack_require__(747);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const home = process.env['HOME'];
|
const home = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
|
||||||
const homeSsh = home + '/.ssh';
|
const homeSsh = home + '/.ssh';
|
||||||
|
|
||||||
const privateKey = core.getInput('ssh-private-key');
|
const privateKey = core.getInput('ssh-private-key');
|
||||||
|
|
Loading…
Add table
Reference in a new issue