Skip to content

ci: fix release by providing github token #2

ci: fix release by providing github token

ci: fix release by providing github token #2

Workflow file for this run

name: release
on:
push:
tags:
- '*'
permissions:
contents: write
id-token: write
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- uses: docker/setup-buildx-action@v3
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}