Skip to content

Commit

Permalink
Merge pull request #71 from miloserdow/dev
Browse files Browse the repository at this point in the history
Chores and sock file fix
  • Loading branch information
miloserdow authored Jun 2, 2024
2 parents 964cd53 + 35e8285 commit dea7873
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 92 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ inputs:
default: ''

runs:
using: 'node16'
using: 'node20'
main: 'lib/run.js'
2 changes: 1 addition & 1 deletion lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function decrypt_key(deploy_key, enc_rsa_key_pth, options) {
const runner1 = new toolrunner.ToolRunner('chmod', ['0600', 'config/deploy_id_rsa'], options);
yield runner1.exec();

const authSock = '/tmp/ssh-auth.sock'
const authSock = `/tmp/ssh-auth-${Date.now()}.sock`;
const runner2 = new toolrunner.ToolRunner('ssh-agent', ['-a', authSock]);
yield runner2.exec();

Expand Down
160 changes: 71 additions & 89 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1",
"@actions/github": "^6.0.0",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1"
},
Expand Down

0 comments on commit dea7873

Please sign in to comment.