Fix manual release ref handling

This commit is contained in:
2026-04-04 20:18:28 +03:00
parent 8d7588ed18
commit 39a3ceadbb

View File

@@ -2,6 +2,11 @@ name: Release
on:
workflow_dispatch:
inputs:
release_ref:
description: "Git ref to release, preferably a tag like v1.0.1"
required: true
type: string
push:
tags:
- "v*"
@@ -17,6 +22,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.release_ref || github.ref }}
- name: Setup Go
uses: actions/setup-go@v5