diff --git a/dist/index.js b/dist/index.js index 58af300..7a597ca 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2933,8 +2933,11 @@ try { console.log(`Added deploy-key mapping: Use identity '${homeSsh}/key-${sha256}' for GitHub repository ${ownerAndRepo}`); + console.log(`exec: ${sshCmd} git@github.com`); const ssh_github_output_1 = child_process.execSync(`${sshCmd} git@github.com`); console.log(`ssh to git@github.com:\n${ssh_github_output_1}`); + + console.log(`exec: ${sshCmd} git@key-${sha256}.github.com`); const ssh_github_output_2 = child_process.execSync(`${sshCmd} git@key-${sha256}.github.com`); console.log(`ssh to git@key-${sha256}.github.com:\n${ssh_github_output_2}`); }); diff --git a/index.js b/index.js index aa34bfd..5e1ede5 100644 --- a/index.js +++ b/index.js @@ -97,8 +97,11 @@ try { console.log(`Added deploy-key mapping: Use identity '${homeSsh}/key-${sha256}' for GitHub repository ${ownerAndRepo}`); + console.log(`exec: ${sshCmd} git@github.com`); const ssh_github_output_1 = child_process.execSync(`${sshCmd} git@github.com`); console.log(`ssh to git@github.com:\n${ssh_github_output_1}`); + + console.log(`exec: ${sshCmd} git@key-${sha256}.github.com`); const ssh_github_output_2 = child_process.execSync(`${sshCmd} git@key-${sha256}.github.com`); console.log(`ssh to git@key-${sha256}.github.com:\n${ssh_github_output_2}`); }); diff --git a/package.json b/package.json index 9775390..dd45c0a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cryptid-action-ssh-agent", "repository": "git@github.com:cryptidtech/ssh-agent.git", "description": "GitHub Action to set up ssh-agent with a private SSH key", - "version": "0.1.9", + "version": "0.1.10", "main": "index.js", "author": "webfactory GmbH ", "license": "MIT",