Skip to content

Commit

Permalink
Goreleaser in CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
barthr committed Apr 1, 2022
1 parent 1982182 commit 7739b1a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: goreleaser

on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GO386: softfloat
GITHUB_TOKEN: ${{ secrets.GH_SECRET }}

0 comments on commit 7739b1a

Please sign in to comment.