Skip to content

Commit

Permalink
[ci] Migrating to GoReleaser Github Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
  • Loading branch information
ViBiOh committed Jun 17, 2021
1 parent a4ddb53 commit 617af4d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: GoReleaser

on:
push:
Expand All @@ -16,13 +16,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup
uses: actions/setup-go@v2
with:
go-version: "^1.13"

- name: Release
- name: GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: curl -sL https://git.io/goreleaser | bash

0 comments on commit 617af4d

Please sign in to comment.