mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
* ci: cosmetic renaming CI jobs Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com> * chore: overrall Makefile enhancements Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
32 lines
633 B
YAML
32 lines
633 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
env:
|
|
GO_VERSION: "1.16"
|
|
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-20.04
|
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@v2
|
|
with:
|
|
version: latest
|
|
args: release --rm-dist
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
|