Closed lukasmalkmus closed 8 months ago
it first tries to parse the private key, if that fails, it sees if it's a path to a file.
so probably the AUR_KEY is invalid.
error message could be better though.
I started from scratch and it worked. I noticed that copying my ssh private key from 1PW removed the line breaks and I probably pasted that into the action secret.
Without looking I suspect you are using encoding/pem
to parse the private key? Maybe that package fails if the - let me call it "block format" - is not correct and without line breaks?
Anyways, thanks for the heads up and sorry for the noise!
I'm trying to release to AUR.
.goreleaser.yaml
uses the SSH private key like this:My workflow looks something like this:
However, the actions error with this message from GoReleaser:
It looks like the SSH private key is being treated as a filename?