Skip to content

first commit

first commit #1

Workflow file for this run

name: "Release a tag"
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: goplugin/[email protected]
id: go-version
- name: Install Go ${{ steps.go-version.outputs.golang_version }}
uses: actions/setup-go@v3
with:
go-version: ${{ steps.go-version.outputs.golang_version }}
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}