From 1f8de25d26fe662cbfb7330539119304a58f0a98 Mon Sep 17 00:00:00 2001 From: Chris Bertinato Date: Sat, 9 Mar 2024 06:15:28 -0500 Subject: [PATCH] Release action on workflow_dispatch --- .github/workflows/release.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eda47a2..2b702b0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,6 +3,20 @@ on: push: tags: - "v[0-9]+.[0-9]+.[0-9]+" + workflow_dispatch: + inputs: + is_draft_release: + description: "Whether a draft release should be created, instead of public one" + required: false + default: false + is_dry_run: + description: "Whether to create release" + required: false + default: false + golang_version: + description: "Golang version to use" + required: false + default: "1.22" env: GOLANG_VERSION: "1.22"