Skip to content

Commit 95a59ca

Browse files
committed
Build with github actions: add random port
1 parent 9c82cc5 commit 95a59ca

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ jobs:
1919
uses: actions/setup-java@v1
2020
with:
2121
java-version: ${{ matrix.java_version }}
22-
- name: Prepare Build
23-
run: mvn -DskipTests=true clean install -q -pl '!docs,!examples'
22+
- name: Install
23+
run: mvn -DskipTests=true clean install -q -pl '!docs,!examples' -P checkstyle
2424
- name: Build
25-
run: mvn checkstyle:checkstyle package -P checkstyle -pl '!docs,!examples'
25+
run: mvn checkstyle:checkstyle package -pl '!docs,!examples' -P checkstyle
26+
env:
27+
BUILD_PORT: 0
28+
BUILD_SECURE_PORT: 0

0 commit comments

Comments
 (0)