2020-06-08 03:29:51 +03:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
2021-10-05 13:18:47 +03:00
|
|
|
- "v*"
|
2020-06-08 03:29:51 +03:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-12 22:00:13 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-go@v3
|
2020-06-08 03:29:51 +03:00
|
|
|
with:
|
2023-08-02 19:04:14 +03:00
|
|
|
go-version: "1.20.7"
|
2022-03-12 22:00:13 +03:00
|
|
|
- uses: goreleaser/goreleaser-action@v2
|
2020-06-08 03:29:51 +03:00
|
|
|
with:
|
|
|
|
distribution: goreleaser
|
|
|
|
version: latest
|
|
|
|
args: release --rm-dist
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|