Skip to content

Commit

Permalink
Create goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
5amu authored Jul 6, 2022
1 parent 97d260f commit bd2b569
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: goreleaser

on:
push:
tags:
- 'v*.*'

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
-
name: run GoReleaser
uses: goreleaser/goreleaser-action@v2.4.1
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bd2b569

Please sign in to comment.