From b0bfc2d7dc136e62189ec4ebf0de03d469bc359b Mon Sep 17 00:00:00 2001 From: Stepan Burlakov Date: Wed, 3 Jul 2024 10:48:13 +0300 Subject: [PATCH] ci: fix publishing action (#434) --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa1e1b9df..e632b014e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,11 @@ name: Release new version on: release: types: [published] + workflow_dispatch: + inputs: + tag_name: + description: 'Tag name to publish' + required: true jobs: build: @@ -15,7 +20,7 @@ jobs: - name: Check out code uses: actions/checkout@v3 with: - ref: ${{ github.event.release.tag_name }} + ref: ${{ github.event.release.tag_name || github.event.inputs.tag_name}} - name: Download uber-jar uses: actions/download-artifact@v3 with: