Skip to content

feature enhancement and code cleaning. #419

feature enhancement and code cleaning.

feature enhancement and code cleaning. #419

Workflow file for this run

name: build
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}