Skip to content

Doesn't work #303

Answered by crazy-max
morrigan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @morrigan,

When buildall is run without any flags, error is: No .go files marked with the mage build tag in this directory.
with -d flag passed, magefile output error is: cannot find package "github.com/magefile/mage/mg"

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.

Is there an example repo where this is used in some other way?

You can find working examples here: https://github.com/search?q=%22ghaction-mage%22&type=Code

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by crazy-max
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #108 on September 10, 2023 09:21.