From b58d2cfee76c067a8c417cd672850804b9729580 Mon Sep 17 00:00:00 2001 From: Wolfgang Welz Date: Fri, 17 Jan 2020 22:21:02 +0100 Subject: [PATCH] :construction_worker: Add GoReleaser action --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f153893 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: GoReleaser + +on: + release: + types: [published] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v1 + with: + go-version: 1.13 + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v1 + with: + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}