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

Can we add the file base64? #2

Closed
lindexi opened this issue Mar 13, 2020 · 4 comments
Closed

Can we add the file base64? #2

lindexi opened this issue Mar 13, 2020 · 4 comments

Comments

@lindexi
Copy link

lindexi commented Mar 13, 2020

Can we make the file to base64 and save to other file?

@Towmeykaw
Copy link
Owner

In powershell its possible to pipe the output of the command to the Out-file cmdlet. So something like base64 stringToEncode | Out-File -FilePath .\test.txt should work

@lindexi
Copy link
Author

lindexi commented Mar 19, 2020

@Towmeykaw How about this command?

base64 -f TheInputFile -o TheOutputFile

Why I want to add file base64? because I want to use this code that should convert the file as base64 to save to github secrets

https://github.com/microsoft/github-actions-for-desktop-apps/blob/59a4b373c3ee1afb0f9e2481ac262913638a4923/.github/workflows/ci.yml#L78

@Towmeykaw
Copy link
Owner

Sounds interesting. I just pushed a version 1.2.0. Have a look and see if it solves your problem.

@lindexi
Copy link
Author

lindexi commented Mar 21, 2020

@Towmeykaw Thank you

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

No branches or pull requests

2 participants