awl/.github/workflows/ghrelease.yaml
Sam Therapy 3540770b3d
All checks were successful
continuous-integration/drone/push Build is passing
tinker with GHA more
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-08-11 16:12:25 +02:00

27 lines
566 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: Release with GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}