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

Generate Credentials workflow fails at Dump Credentials stage #106

Open
aleksdmladenovic opened this issue Sep 25, 2024 · 2 comments
Open

Comments

@aleksdmladenovic
Copy link

Hello, I tried to run this code locally and found out that I need to generate the credentials for Github Action Cache API by using Generate Credentials workflow - keygen.yaml.

Although, I ran this command on my Ubuntu machine, nix shell nixpkgs#age --command age-keygen -o key.txt and set an repository secret called AGE_PUBLIC_KEY as the public key retrieved from that command.

But when I tried to manually run the Generate Credentials workflow, it fails with this error.

In fact, it passes but it doesn't dump credentials correctly.

https://github.com/aleksdmladenovic/magic-nix-cache/actions/runs/10945125943/job/30657037776#step:6:12

image

Looking forward to solution to this!
Thanks!

@grahamc
Copy link
Member

grahamc commented Sep 25, 2024

Hi @aleksdmladenovic, thanks for the issue. That is a remnant from when we were first developing and testing the magic nix cache, and we don't really use it / should probably delete it. So I'm curious: why do you want to do that?

@aleksdmladenovic
Copy link
Author

Thanks for your feedback, @grahamc
I want to test magic-nix-cache byitself without embedding it to action.

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