Skip to content

Commit

Permalink
Match GoReleaser action on releases branches
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
  • Loading branch information
statik committed Oct 3, 2019
1 parent 20784bf commit 8f57931
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
on:
push:
tags:
- 'v*'
branches:
- "releases/**"
name: GoReleaser
jobs:
release:
name: Release
runs-on: ubuntu-latest
#needs: [ test ]
steps:
- name: Check out code
uses: actions/checkout@master
- name: goreleaser
uses: docker://goreleaser/goreleaser
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
with:
args: release
if: success()
- name: Check out code
uses: actions/checkout@master
- name: goreleaser
uses: docker://goreleaser/goreleaser
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
with:
args: release
if: success()

0 comments on commit 8f57931

Please sign in to comment.