Thanks to visit codestin.com
Credit goes to github.com

Skip to content

.github/workflows/build.yml #2

.github/workflows/build.yml

.github/workflows/build.yml #2

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: ~> 1.23
args: release --clean -p 2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}