From 2f472ecd36ee0851306e54733d47a593dbd1e498 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Sun, 17 Mar 2019 09:59:20 -0700 Subject: [PATCH] Update main.workflow --- .github/main.workflow | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 00000000..2cb741ef --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,19 @@ +workflow "Release" { + on = "push" + resolves = ["goreleaser"] +} + +action "is-tag" { + uses = "actions/bin/filter@master" + args = "tag" +} + +action "goreleaser" { + uses = "docker://goreleaser/goreleaser" + secrets = [ + "GITHUB_TOKEN", + ] + + args = "release" + needs = ["is-tag"] +}