Skip to content

.github/workflows/build.yml #3

.github/workflows/build.yml

.github/workflows/build.yml #3

Workflow file for this run

on:
workflow_dispatch:
push:
tags:
- "*"
permissions:
contents: write
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
- name: Set Up Go
uses: actions/setup-go@v4
with:
go-version: "1.x"
id: go
- name: run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: nightly
args: release --clean -p 2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}