You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Go Release Binary
v1.0.1
Automate publishing Go build artifacts for GitHub releases through GitHub Actions
# .github/main.workflow
workflow "Build" {
on = "release"
resolves = [
"release darwin/amd64",
"release windows/amd64",
"release linux/amd64",
]
}
action "release darwin/amd64" {
uses = "ngs/go-release.action@v1.0.1"
env = {
GOOS = "darwin"
GOARCH = "amd64"
}
secrets = ["GITHUB_TOKEN"]
}
action "release windows/amd64" {
uses = "ngs/go-release.action@v1.0.1"
env = {
GOOS = "windows"
GOARCH = "amd64"
}
secrets = ["GITHUB_TOKEN"]
}
action "release linux/amd64" {
uses = "ngs/go-release.action@v1.0.1"
env = {
GOOS = "linux"
GOARCH = "amd64"
}
secrets = ["GITHUB_TOKEN"]
}