Skip to content

Generate AGENTS.md when creating a new site so you can interate more … #2

Generate AGENTS.md when creating a new site so you can interate more …

Generate AGENTS.md when creating a new site so you can interate more … #2

Workflow file for this run

# Release the click CLI: push a tag like v0.1.0 and GoReleaser builds the
# linux amd64/arm64 + macOS arm64 binaries (.goreleaser.yaml) and publishes
# them as a GitHub release. contents:write is exactly the permission the
# release upload needs — the default GITHUB_TOKEN covers it, no PAT.
name: release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
goreleaser:
# GoReleaser cross-compiles every target (CGO is off), so one amd64
# runner builds the linux amd64/arm64 and darwin arm64 binaries alike.
runs-on: arc-amd64-runners
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0 # the git-based changelog diffs against the previous tag
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}