Skip to content

Commit

Permalink
Test release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Bloemberg committed Mar 11, 2019
1 parent 94961e0 commit acb5756
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
workflow "New workflow" {
on = "push"
resolves = ["Make"]
workflow "Release" {
on = "release"
resolves = [
"Upload release Darwin",
"Upload release Linux",
]
}

action "Make" {
uses = "Make"
runs = "make"
action "Build releases" {
uses = "cedrickring/[email protected]"
}

action "Upload release Darwin" {
uses = "JasonEtco/upload-to-release@master"
args = "terraform-provider-transip_*_darwin_amd64.tgz"
secrets = ["GITHUB_TOKEN"]
needs = ["Build releases"]
}

action "Upload release Linux" {
uses = "JasonEtco/upload-to-release@master"
args = "terraform-provider-transip_*_linux_amd64.tgz"
secrets = ["GITHUB_TOKEN"]
needs = ["Build releases"]
}

0 comments on commit acb5756

Please sign in to comment.