From 401f235713148c9398aebfee605bc1fdd4400058 Mon Sep 17 00:00:00 2001 From: Ky-Anh Huynh Date: Tue, 15 Sep 2020 19:10:11 +0200 Subject: [PATCH] goreleaser again --- .github/workflows/tests.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 505aca8..639017d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -2,8 +2,11 @@ name: icy on: push: - branches-ignore: - - nothing-does-matter + branches: + - 'master' + tags: + - 'v*' + pull_request: jobs: smoke: @@ -20,7 +23,7 @@ jobs: make tests goreleaser: - # if: ${{ github.ref == 'refs/heads/master' }} + if: success() runs-on: ubuntu-latest steps: - name: Checkout @@ -35,6 +38,6 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: v0.143.0 - args: release --debug --rm-dist --skip-validate + args: --snapshot env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}