Skip to content

Added go releaser

Added go releaser #2

Workflow file for this run

name: Reverse Words app release
on:
push:
tags:
- "v*"
jobs:
build:
name: GoReleaser build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
install-only: true
- name: Run GoRelease
run: goreleaser release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}