ngs / go-release.action

Automate publishing Go build artifacts for GitHub releases through GitHub Actions
https://github.com/marketplace/actions/go-release-binary
94 stars 66 forks source link

Add path to custom main.go #3

Open batazor opened 5 years ago

batazor commented 5 years ago

Add ENV variable CMD_PATH

example:

CMD_PATH = "cmd/hcfc/main.go"

to build.sh

- go build
+ go build $CMD_PATH