gobuffalo / packr

The simple and easy way to embed static files into Go binaries.
MIT License
3.41k stars 196 forks source link

Packr2 is running normally, but uses in the GitHub Action environment, the following error occurs: #288

Open excing opened 3 years ago

excing commented 3 years ago

the following error occurs

main-packr.go:8:8: package home/runner/work/KnowlGraph/KnowlGraph/packrd is not in GOROOT (/opt/hostedtoolcache/go/1.15.12/x64/src/home/runner/work/KnowlGraph/KnowlGraph/packrd)
afdecastro879 commented 3 years ago

Experiencing the same issue here. Do you have any workaround or have you figure out why is this happening?

afdecastro879 commented 3 years ago

BTW I was able to solve this issue in Github Actions by setting the GO111MODULE=on environment variable