Skip to content

Commit 4ee127e

Browse files
committed
Correct logic to only run one version step.
1 parent 974ab51 commit 4ee127e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ jobs:
5050
java-version: '8'
5151
cache: 'gradle'
5252
- name: Set version
53-
if: inputs.nightly
53+
if: inputs.nightly == true
5454
run: echo "VERSION=${{inputs.branch}}-nightly" >> $GITHUB_ENV
5555
- name: Set version
56+
if: inputs.nightly == false
5657
run: echo "VERSION=${{inputs.branch}}" >> $GITHUB_ENV
5758
- name: show version
5859
run: echo ${VERSION}

0 commit comments

Comments
 (0)