Skip to content

Commit 4b8c4ac

Browse files
committed
main2.md
1 parent 87c483a commit 4b8c4ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424

2525
steps:
2626
- name: validate branch
27-
if: ${{ github.ref != 'refs/heads/dev' || github.ref != 'refs/heads/main' || (github.ref == 'refs/heads/dev' && (!startsWith(github.event.inputs.version, 'pre') || github.event.inputs.preid != 'alpha')) || (github.ref == 'refs/heads/main' && startsWith(github.event.inputs.version, 'pre') && github.event.inputs.preid != 'rc') }}
27+
if: ${{ github.ref != 'refs/heads/dev' || github.ref != 'refs/heads/main' }}
2828
run: |
2929
echo ${{ github.ref }}
3030
echo ${{ github.event.inputs.version }}
31-
echo ${{ github.event.inputs.preid}} | wc
31+
echo ${{ github.event.inputs.preid }}
3232
exit 1
3333
3434
- name: Checkout dev branch

0 commit comments

Comments
 (0)