Skip to content

v2.3.5

v2.3.5 #26

Workflow file for this run

---
name: Release
on:
release:
types: [published]
permissions:
contents: write
env:
GO_VERSION: 1.22
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: crazy-max/ghaction-import-gpg@v5
id: import_gpg
with:
gpg_private_key: ${{ secrets.TFREG_GPG_PRIVATE_KEY }}
passphrase: ""
- uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
# GitHub sets this automatically
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}