Files
wsmancer/.github/workflows/release.yml
dependabot[bot] 65fae42f79 Bump actions/checkout from 4 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-24 01:30:00 +00:00

33 lines
938 B
YAML

# Release: on a vX.Y.Z tag, cross-compile the release binaries and attach them
# (archives + SHA256SUMS + SBOMs) to the GitHub Release. Driven by .goreleaser.yml.
# The `ci` workflow still runs the gates on every push; this is separate and
# fires only on tags.
name: release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write # create/update the Release and upload assets
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0 # full history + tags, so GoReleaser can build the changelog
- uses: actions/setup-go@v7
with:
go-version: "1.26"
- name: install syft (for SBOMs)
uses: anchore/sbom-action/download-syft@v0
- uses: goreleaser/goreleaser-action@v7
with:
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}