Files
RocketLeagueBot-Renderer/.gitea/workflows/release.yaml
T
fdestefano d5e65fbb03
release / goreleaser (push) Failing after 51s
Release v1.0.0 #major
2026-06-02 23:12:36 -05:00

35 lines
855 B
YAML

name: release
# Build and publish a release whenever a semver tag is pushed.
on:
push:
tags:
- "v*"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# GoReleaser needs the full history and tags for the changelog.
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.26.x"
check-latest: false
cache: false
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
args: release --clean
env:
# Gitea injects a repo-scoped token automatically; GoReleaser reads
# GITEA_TOKEN to publish the release to this instance.
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}