Skip to content

Merge pull request #22 from kkdai/update_mod #13

Merge pull request #22 from kkdai/update_mod

Merge pull request #22 from kkdai/update_mod #13

Workflow file for this run

name: Release Go project
on:
push:
tags:
- "*" # triggers only if push new tag version, like `0.8.4` or else
jobs:
build:
name: GoReleaser build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
- name: Set up Go 1.21.1
uses: actions/setup-go@v4
with:
go-version: 1.21.1
id: go
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@master
with:
version: latest
args: release -f .goreleaser.yml --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}