schemas / check (pull_request) Waiting to run
schemas / vulnerabilities (pull_request) Waiting to run
schemas / check-release (pull_request) Waiting to run
schemas / build (pull_request) Waiting for needed jobs
pre-commit / pre-commit (pull_request) Waiting to run
renovate/stability-days Updates have met minimum release age requirement
32 lines
749 B
YAML
32 lines
749 B
YAML
name: Goreleaser
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: '24'
|
|
- uses: actions/setup-go@v7
|
|
with:
|
|
go-version: 'stable'
|
|
- name: Install goreleaser
|
|
uses: goreleaser/goreleaser-action@v7
|
|
with:
|
|
version: 'v2.18.3'
|
|
install-only: true
|
|
- name: Release
|
|
run: |
|
|
GITEA_TOKEN=$(cat "${RELEASE_TOKEN_FILE}")
|
|
export GITEA_TOKEN
|
|
# Without GOCACHEPROG: parallel builds contend for gobuildcache's locks.
|
|
env -u GOCACHEPROG goreleaser release --clean
|