Skip to content

Commit 825f5fb

Browse files
committed
Fix ci.yml
1 parent c0ebd68 commit 825f5fb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
name: CI
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
410

511
jobs:
612
build:
713
runs-on: ubuntu-latest
8-
14+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
915
steps:
1016
- uses: actions/checkout@v2
1117
- name: Set up JDK 17
1218
uses: actions/setup-java@v2
1319
with:
1420
java-version: '17'
15-
distribution: 'adopt'
21+
distribution: 'temurin'
1622
- name: Build with Maven
17-
run: mvn --batch-mode verify
23+
run: ./mvnw --batch-mode clean verify

0 commit comments

Comments
 (0)