Skip to content

Commit 7f85f6f

Browse files
committed
asda
1 parent 5a4bb28 commit 7f85f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/promote-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
echo "promotion-type=${{ inputs.promotion-type }}"
3838
echo "${{ github.ref_name }}"
3939
- name: 'Check promotion type'
40-
if: "!(${{ inputs.promotion-type }} != 'preview' || ${{ inputs.promotion-type }} != 'release')"
40+
if: "!(${{ inputs.promotion-type }} == 'preview' || ${{ inputs.promotion-type }} == 'release')"
4141
run: |
4242
echo "Invalid promotion type: ${{ inputs.promotion-type }}"
4343
exit 1

0 commit comments

Comments
 (0)