Skip to content

Commit 7ae84b9

Browse files
committed
fixwd condition
1 parent cf93989 commit 7ae84b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
steps:
5151
- name: 'Validate release branch'
52-
if: ${{ needs.workflow-variables.outputs.is-release != 'true' || needs.workflow-variables.outputs.is-preview != 'true' }}
52+
if: ${{ needs.workflow-variables.outputs.is-release != 'true' && needs.workflow-variables.outputs.is-preview != 'true' }}
5353
run: |
5454
echo "This workflow can only be run on 'release/**' or 'preview/**' branches."
5555
exit 1

0 commit comments

Comments
 (0)