Go: code generator doesn't get picked up by build script

Hi all,

Remaking this post since it said I had too many links last time. I’m using github/rakyll/statik to pack some static assets in my artifacts, but when I download the resulting binaries from Circle, it says the generation failed.

It works on my machine and my research led to the error being related to something with Circle’s use of GOPATH, but I don’t know if that’s still an issue, so I came here. Referring to this post here from 2016 https://discuss.circleci.com/t/gopath-is-set-to-multiple-directories/7174.

My project is https://github.com/nektro/andesite
/.circleci/config.yml - my Circle config
/scripts/build_all.sh - the build script that runs statik and go build.

Thanks in advance for any help,
:heart:

Would you post your console output in your post? At present there is not much for readers to go on.

Sorry, didn’t realize I didn’t link these.
https://circleci.com/gh/nektro/andesite

And the most recent build:
https://circleci.com/gh/nektro/andesite/3

I specified the working directory wrong in my config.yml

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.