Skip to content

Commit 582c167

Browse files
committed
fix lint
1 parent 6aeb601 commit 582c167

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-source.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ jobs:
3535
steps:
3636
- name: Validate required inputs
3737
run: |
38-
[[ "${{ inputs.release_version }}" ]] || { echo "release_version input is empty" ; exit 1; }
39-
38+
if [ -z "${{ inputs.release_version }}" ]; then
39+
echo "release_version input is empty"
40+
exit 1
41+
fi
4042
- name: check branch
4143
if: ${{ github.ref_name != 'develop' }}
4244
run: |

0 commit comments

Comments
 (0)