Skip to content

Commit 009aab9

Browse files
committed
no checkstyle or java import check if code doesn't compile
1 parent d31212d commit 009aab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ jobs:
4848
uses: ./.github/actions/build
4949

5050
- name: Java Import Check
51-
if: always()
51+
if: ${{ always() && steps.build.conclusion == 'success' }}
5252
id: sortimport
5353
uses: ./.github/actions/sortimport
5454

5555
- name: Code Style Check
56-
if: always()
56+
if: ${{ always() && steps.build.conclusion == 'success' }}
5757
id: checkstyle
5858
uses: ./.github/actions/checkstyle
5959

0 commit comments

Comments
 (0)