Skip to content

add GITHUB_TOKEN

add GITHUB_TOKEN #21

Workflow file for this run

name: Release
on:
push
# branches:
# - main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21.7
- name: Install dependencies
run: go get .
- name: Install goreleaser
run: go install github.com/goreleaser/goreleaser@latest
- name: Release
run: goreleaser release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}