Skip to content

Merge pull request #12 from gruz0/feature/add-goreleaser #1

Merge pull request #12 from gruz0/feature/add-goreleaser

Merge pull request #12 from gruz0/feature/add-goreleaser #1

Workflow file for this run

name: "Release a tag"
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
env:
GO_VERSION: '1.22'
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --timeout=90m
env:
GITHUB_TOKEN: ${{ secrets.WEB3SAFE_GORELEASER_TOKEN }}