Skip to content

update release github action #8

update release github action

update release github action #8

Workflow file for this run

name: Release
on:
push:
tags:
- "*.*.*"
jobs:
releaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Go Releaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: 2.3.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}