mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-26 03:23:59 +00:00
37 lines
713 B
Markdown
37 lines
713 B
Markdown
# ivuorinen/actions/go-build
|
|
|
|
## Go Build
|
|
|
|
### Description
|
|
|
|
Builds the Go project.
|
|
|
|
### Inputs
|
|
|
|
| name | description | required | default |
|
|
| ------------- | ----------------------------------- | -------- | ------- |
|
|
| `go-version` | <p>Go version to use.</p> | `false` | `""` |
|
|
| `destination` | <p>Build destination directory.</p> | `false` | `./bin` |
|
|
|
|
### Runs
|
|
|
|
This action is a `composite` action.
|
|
|
|
### Usage
|
|
|
|
```yaml
|
|
- uses: ivuorinen/actions/go-build@main
|
|
with:
|
|
go-version:
|
|
# Go version to use.
|
|
#
|
|
# Required: false
|
|
# Default: ""
|
|
|
|
destination:
|
|
# Build destination directory.
|
|
#
|
|
# Required: false
|
|
# Default: ./bin
|
|
```
|