All checks were successful
PR Check / check-and-test (pull_request) Successful in 1m13s
24 lines
525 B
YAML
24 lines
525 B
YAML
name: Release Tag
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@main
|
|
with:
|
|
fetch-depth: 0
|
|
- run: git fetch --force --tags
|
|
- uses: actions/setup-go@main
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- uses: goreleaser/goreleaser-action@master
|
|
with:
|
|
distribution: goreleaser
|
|
version: 'latest'
|
|
args: release
|
|
env:
|
|
GITEA_TOKEN: ${{secrets.RELEASE_TOKEN}} |