|
|
@ -1,23 +1,24 @@
|
|
|
|
name: Release
|
|
|
|
name: Release
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
inputs:
|
|
|
|
tags:
|
|
|
|
version:
|
|
|
|
- 'v*.*.*'
|
|
|
|
description: version tag to release
|
|
|
|
|
|
|
|
required: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
setup:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set up Go
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: 1.17
|
|
|
|
go-version: 1.17
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run GoReleaser
|
|
|
|
- name: Run GoReleaser
|
|
|
|
uses: goreleaser/goreleaser-action@v2
|
|
|
|
uses: goreleaser/goreleaser-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|