Skip to content

Commit

Permalink
ci: manual dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed May 26, 2024
1 parent a002316 commit 9553952
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 9553952

Please sign in to comment.