-
I've tried using this in several ways but always end up hitting the wall regarding directory setup.
Is there an example repo where this is used in some other way? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @morrigan,
That's because you checkout your repo in a custom path. As I can see, you rely on go modules so you shouldn't use
You can find working examples here: https://github.com/search?q=%22ghaction-mage%22&type=Code |
Beta Was this translation helpful? Give feedback.
-
Hi @crazy-max, thanks for the answering. You are right, however I did try a few different approaches. Here is one without custom path. I've managed to solve what I need using custom mage install but I think it might help someone else by looking into it. |
Beta Was this translation helpful? Give feedback.
-
@morrigan Yes that's because you don't run |
Beta Was this translation helpful? Give feedback.
Hi @morrigan,
That's because you checkout your repo in a custom path.
As I can see, you rely on go modules so you shouldn't use
GOPATH
anyway. Fyi,GOPATH
is deprecated since Go 1.13.You can find working examples here: https://github.com/search?q=%22ghaction-mage%22&type=Code