Skip to content

Add main path to goreleaser #3

Add main path to goreleaser

Add main path to goreleaser #3

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 }}