Skip to content

Merge pull request #2 from jfelipearaujo/feat/release #3

Merge pull request #2 from jfelipearaujo/feat/release

Merge pull request #2 from jfelipearaujo/feat/release #3

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
- 'v*.*.*-*.*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.22.x'
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5.0.0
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
workdir: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}