Skip to content

Commit

Permalink
fixed goreleaser trigger to work with drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
Shai Nagar committed Sep 21, 2021
1 parent c92f937 commit 1771c75
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/go-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@ name: GoReleaser
on:
release:
types:
- created
- published
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
-
name: Run GoReleaser

- name: Build
# this generates up-to-date completion scripts in the build directory
run: make build

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
Expand Down

0 comments on commit 1771c75

Please sign in to comment.