From 38d906f9d720491b5241678ffcaf1732e2758175 Mon Sep 17 00:00:00 2001 From: Martin Nirtl Date: Thu, 27 Feb 2020 21:18:22 +0100 Subject: [PATCH] Create gorelease.yml --- .github/workflows/gorelease.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/gorelease.yml diff --git a/.github/workflows/gorelease.yml b/.github/workflows/gorelease.yml new file mode 100644 index 0000000..d2eca23 --- /dev/null +++ b/.github/workflows/gorelease.yml @@ -0,0 +1,29 @@ +name: Gorelease +on: + push: + branches: + - "!*" + tags: + - "v*.*.*" +jobs: + + release: + name: Release + runs-on: ubuntu-latest + steps: + + - name: Set up Go 1.14 + uses: actions/setup-go@v1 + with: + go-version: 1.14 + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + + - name: GoReleaser Action + uses: goreleaser/goreleaser-action@v1.3.1 + with: + # GoReleaser version. Example: v0.118.0 + version: latest + args: release --rm-dist