Skip to content

chore: Update GitHub Actions workflow files (#167) #49

chore: Update GitHub Actions workflow files (#167)

chore: Update GitHub Actions workflow files (#167) #49

Workflow file for this run

name: Release with goreleaser
on:
push:
tags:
- v*.*.*
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: git fetch tags
run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Release via goreleaser
uses: goreleaser/goreleaser-action@v4
with:
args: release
env:
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}