File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ jobs:
3838 echo "${{ github.ref_name }}"
3939 - name : ' Check promotion type'
4040 run : |
41- if [[ "${{ inputs.promotion-type }} != 'release' || ${{ inputs.promotion-type }} != 'preview'" ]]; then
41+ if [[ "${{ inputs.promotion-type }}" != 'release' || " ${{ inputs.promotion-type }}" != 'preview' ]]; then
4242 echo "Invalid promotion type: ${{ inputs.promotion-type }}"
4343 exit 1
4444 fi
4545 - name : ' Check source branch'
4646 run : |
47- if [[ " ${{ env.isdevelopment-branch }} == 'false' && ${{ env.is-maintenance-branch }} == 'false'" ]]; then
47+ if [[ ${{ env.isdevelopment-branch }} == 'false' && ${{ env.is-maintenance-branch }} == 'false' ]]; then
4848 echo "Invalid source branch: ${{ github.ref_name }}"
4949 exit 1
5050 fi
You can’t perform that action at this time.
0 commit comments