Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
colde committed Sep 7, 2019
1 parent 0b6aba1 commit 612ed49
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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.0"
env = {
GOOS = "darwin"
GOARCH = "amd64"
}
secrets = ["GITHUB_TOKEN"]
}

action "release windows/amd64" {
uses = "ngs/go-release.action@v1.0.0"
env = {
GOOS = "windows"
GOARCH = "amd64"
}
secrets = ["GITHUB_TOKEN"]
}

action "release linux/amd64" {
uses = "ngs/go-release.action@v1.0.0"
env = {
GOOS = "linux"
GOARCH = "amd64"
}
secrets = ["GITHUB_TOKEN"]
}

0 comments on commit 612ed49

Please sign in to comment.