Skip to content

Commit cdb4bd2

Browse files
committed
fixing the thing
Signed-off-by: Alfredo Gutierrez <[email protected]>
1 parent f9de366 commit cdb4bd2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/spotless-check.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
continue-on-error: true
3939

4040
- name: Fail if Spotless Check Fails
41-
if: failure()
41+
if: always()
4242
run: |
43-
echo "Spotless found formatting issues. Please run './gradlew spotlessApply' to fix them."
44-
exit 1
43+
if [ "${{ steps.spotless_check.outcome }}" == "failure" ]; then
44+
echo "Spotless found formatting issues. Please run './gradlew spotlessApply' to fix them."
45+
exit 1
46+
fi

0 commit comments

Comments
 (0)