Skip to content

Commit c3c3d51

Browse files
committed
Assign candidate version only when input version is null
1 parent 403cff2 commit c3c3d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
return list.data[0].name
3333
3434
- name: Assign candidate version
35-
if: success()
35+
if: github.event.inputs.version == null
3636
run: echo "RELEASE_VERSION=${{ steps.candidate-version.outputs.result }}" >> $GITHUB_ENV
3737

3838
- name: Set up JDK 8

0 commit comments

Comments
 (0)