Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project ssh keys should be reported as filenames, not contents #3

Open
displague opened this issue Feb 17, 2021 · 3 comments · Fixed by #7
Open

project ssh keys should be reported as filenames, not contents #3

displague opened this issue Feb 17, 2021 · 3 comments · Fixed by #7

Comments

@displague
Copy link
Member

It is difficult to mask multiline strings in GH Actions, and that handling has been incorrect to date.

Export an env var reporting a filename where the ssh key can be accessed.

The file can be created in os.Getenv('RUNNER_TEMP')

@displague
Copy link
Member Author

(both public and private keys should work this way)

Since the public key does not contain newlines, we could include it in a variable.

@displague
Copy link
Member Author

There are some problems with the current approach (v0.6.0):

2021/02/21 21:31:50 open /home/runner/work/_temp/id_rsa_411056339: no such file or directory

@ctreatma
Copy link
Contributor

Are you still able to reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants