Skip to content

init

init #130

Workflow file for this run

name: release
on:
push:
branches:
- 'main'
# tags:
# - 'v*'
workflow_dispatch:
permissions:
contents: write
env:
GOVERSION: "1.18"
jobs:
release:
name: Build and publish new release
runs-on: ubuntu-latest
steps:
- name: Set up latest Go
uses: actions/setup-go@v2
with:
go-version: 1.*
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: 1.8.3
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}