Skip to content

Commit

Permalink
remove duplicate release action (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbosco authored Dec 10, 2021
1 parent 37d3f25 commit 06d82b6
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
Expand All @@ -24,31 +22,3 @@ jobs:
go-version: ${{ matrix.go }}
- name: Test build
run: make

release:
name: Release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-18.04
needs: build
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v2

# required for the changelog to work correctly
- name: Unshallow
run: git fetch --prune --unshallow

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.17
id: go

- name: Run goreleaser
uses: goreleaser/goreleaser-action@v1
with:
version: v0.131.1
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 06d82b6

Please sign in to comment.