File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
.github/actions/ssh-agent Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2626 - name : setup read ssh key file
2727 shell : bash -e {0}
2828 working-directory : /tmp
29+ env :
30+ READ_SSH_KEY : ${{ inputs.read_github_ssh_key }}
2931 if : inputs.read_github_ssh_key != ''
3032 run : |
31- echo "${{ inputs.read_github_ssh_key }} " >> ~/.ssh/github.com.rsa
33+ echo "$READ_SSH_KEY " >> ~/.ssh/github.com.rsa
3234 chmod 600 ~/.ssh/github.com.rsa
3335 ssh-add ~/.ssh/github.com.rsa
3436
4345 - name : setup write ssh key file
4446 shell : bash -e {0}
4547 working-directory : /tmp
48+ env :
49+ WRITE_SSH_KEY : ${{ inputs.write_github_ssh_key }}
4650 if : inputs.write_github_ssh_key != ''
4751 run : |
48- echo "${{ inputs.write_github_ssh_key }} " >> ~/.ssh/write.github.com.rsa
52+ echo "$WRITE_SSH_KEY " >> ~/.ssh/write.github.com.rsa
4953 chmod 600 ~/.ssh/write.github.com.rsa
5054 ssh-add ~/.ssh/write.github.com.rsa
5155
You can’t perform that action at this time.
0 commit comments