Skip to content

goreleasemefromthisprision #17

goreleasemefromthisprision

goreleasemefromthisprision #17

Workflow file for this run

name: Build and Upload Artifact
on:
push:
tags:
- 'v*' # replace with your default branch if not 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21 # replace with your Go version
- name: Build
run: go build -v -o tailtrail
- name: GoReleaser Action
uses: goreleaser/goreleaser-action@v5.0.0
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}