Skip to content

feat add initial goreleaser config (#20) #1

feat add initial goreleaser config (#20)

feat add initial goreleaser config (#20) #1

Workflow file for this run

name: Go Releaser
on:
push:
branches:
- "main"
tags:
- "v*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
install-only: true
- name: Release
run: |
goreleaser release --config ./.github/.goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}