File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ name: Create Release
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ branch :
7+ description : ' Branch to build and publish'
8+ required : true
9+ default : ' develop'
10+ type : choice
11+ options :
12+ - develop
13+ - feat/platform
514
615jobs :
716 build :
1221 - name : Checkout repository
1322 uses : actions/checkout@v3
1423 with :
15- ref : develop # Ensure it works from the develop branch
24+ ref : ${{ inputs. branch }}
1625
1726 - name : Set up JDK 21
1827 uses : actions/setup-java@v3
5665 release_name : v${{ env.GRADLE_VERSION }}-dev.${{ env.COMMIT_HASH }}
5766 draft : false
5867 prerelease : true
59- commitish : develop
68+ commitish : ${{ inputs.branch }}
6069 body : |
6170 This release contains dev builds for all Gradle modules.
6271 env :
You can’t perform that action at this time.
0 commit comments