Skip to content

ci: update github action to use custom PAT #7

ci: update github action to use custom PAT

ci: update github action to use custom PAT #7

Workflow file for this run

name: release
on:
pull_request:
push:
# run only against tags
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.1
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}