Skip to content

Commit

Permalink
That should be || and not &&
Browse files Browse the repository at this point in the history
  • Loading branch information
Blargian committed Jan 20, 2025
1 parent 165c87e commit 467541c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# Step 6: Fail the build if any script returns exit code 1
- name: Check exit code
run: |
if [[ "${{ steps.spellcheck.outcome }}" == "failure" ]] && [[ "${{ steps.kbcheck.outcome }}" == "failure" ]]; then
if [[ "${{ steps.spellcheck.outcome }}" == "failure" ]] || [[ "${{ steps.kbcheck.outcome }}" == "failure" ]]; then
echo "Style check failed. See the logs for details."
exit 1
fi
Expand Down

0 comments on commit 467541c

Please sign in to comment.