From 95539521feed437c8da7397887c8a83f3faacabb Mon Sep 17 00:00:00 2001 From: db0 Date: Sun, 26 May 2024 08:15:13 +0200 Subject: [PATCH] ci: manual dispatch --- .github/workflows/main.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 563cdf6..daee545 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,17 @@ on: push: branches: - main - + workflow_dispatch: + inputs: + release: + description: 'Release version type' + required: true + default: 'patch' + type: choice + options: + - patch + - minor + - major jobs: version_and_release: @@ -21,7 +31,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - bump_version_scheme: norelease + bump_version_scheme: ${{ github.event_name == 'push' && 'norelease' || inputs.release }} use_github_release_notes: true # Always include the checkout step so that # your project is available for Godot to export