Skip to content

Commit

Permalink
Tune GoReleaser workflow (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoido authored Dec 21, 2021
1 parent fd07026 commit e5f169a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: goreleaser
name: Release

on:
workflow_dispatch:
push:
tags:
- "*"

permissions:
contents: write

jobs:
goreleaser:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-go@v2
with:
go-version: 1.17
Expand Down

0 comments on commit e5f169a

Please sign in to comment.