Skip to content

RELEASE

RELEASE #3

Workflow file for this run

name: "RELEASE"
on:
push:
branches:
- ''
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Setup Environment Variables
run: |
export GIT_SHA=`git rev-parse HEAD`
- name: Release
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_SHA: ${{ env.GIT_SHA }}
GIT_REF: "main"