awl/.github/workflows/ghrelease.yaml
Sam 068706ae9a
All checks were successful
continuous-integration/drone/push Build is passing
(feat)Completions and documentation (#78)
Reviewed-on: #78
2022-09-04 23:28:47 +00:00

32 lines
666 B
YAML

name: GitHub Release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Release with GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}