go-cross/CGO actions
build golang project with CGO enabled
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dir | The directory to work | no | . |
| packages | The packages to build | no | . |
| flags | The flags to pass to the go build command | no | -ldflags=-w -s |
| static-link-for-musl | Whether to statically link for the musl libc | no | true |
| musl-base-url | The base url for musl | no | https://github.com/go-cross/musl-toolchain-archive/releases/latest/download |
| targets | The targets to build for | no | * |
| musl-target-format | The format for musl target | no | $os-$arch-$musl |
| out-dir | The output directory | no | bin |
| output | The output binary name | no | $repo-$target$ext |
| x-flags | Extra X ldflags to pass to the go build command | no | "" |
Outputs
| name | description |
|---|---|
| files | The files that were built |