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

Looking forward to solution to this!
Thanks!