Skip to content

Commit

Permalink
handle exit of grep
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic committed Jan 21, 2025
1 parent 6506a38 commit 0639853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/desiger-check-quartz-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Check if quartz library is updated
id: check-quartz-update
run: |
diff=$(git diff --unified=0 origin/${{ github.base_ref }}...origin/${{ github.head_ref }} -- backend/packagegroups/NuGet.props | grep + | grep Quartz | grep Version)
diff=$(git diff --unified=0 origin/${{ github.base_ref }}...origin/${{ github.head_ref }} -- backend/packagegroups/NuGet.props | grep + | grep Quartz | grep Version || true)
if [ -n "$diff" ]; then
echo "is-updated=true" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit 0639853

Please sign in to comment.