Update index.js

This commit is contained in:
Adam Rogas 2020-12-04 17:09:25 -08:00 committed by GitHub
parent 780d0ee9a3
commit 1f5de2381e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ const fs = require('fs');
try {
const home = process.env['HOME'];
const home = core.getInput('home-dir') ? core.getInput('home-dir') : process.env['HOME'];
const homeSsh = home + '/.ssh';
const privateKey = core.getInput('ssh-private-key');