From 7cf8b73835889e9d91c9f19003134bc99a1ae282 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 24 Feb 2021 14:09:37 -0300 Subject: [PATCH] fix: improve ci Signed-off-by: Carlos Alexandro Becker --- .github/workflows/goreleaser.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 630d4f3..85a7393 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -1,12 +1,14 @@ name: goreleaser on: - pull_request: push: + tags: + - v* jobs: goreleaser: runs-on: ubuntu-latest + needs: [build, lint] steps: - name: Checkout @@ -23,4 +25,3 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release --snapshot --skip-publish --skip-sign --rm-dist