3b4e513653
schemas / vulnerabilities (pull_request) Successful in 2m19s
schemas / check-release (pull_request) Successful in 6m5s
schemas / check (pull_request) Successful in 6m24s
pre-commit / pre-commit (pull_request) Successful in 12m13s
schemas / build (pull_request) Successful in 7m21s
schemas / deploy-prod (pull_request) Has been skipped
GoReleaser v2.14.0 upgraded the Gitea SDK from v0.22.1 to v0.23.2, which fails to parse the Gitea server version during homebrew cask publishing (error: unknown version: daf0483). Pin to v2.13.3 until the Gitea server is updated to a compatible version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
705 B
YAML
34 lines
705 B
YAML
name: Goreleaser
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
env:
|
|
RELEASE_TOKEN_FILE: /runner-secrets/release-token
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '24'
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version: 'stable'
|
|
- name: Install goreleaser
|
|
uses: goreleaser/goreleaser-action@v7
|
|
with:
|
|
version: 'v2.13.3'
|
|
install-only: true
|
|
- name: Release
|
|
run: |
|
|
GITEA_TOKEN=$(cat "${RELEASE_TOKEN_FILE}")
|
|
export GITEA_TOKEN
|
|
goreleaser release --clean
|