Skip to content

Commit 5f69e85

Browse files
committed
Github build: use go-offline in prepare phase
1 parent e2e0f9c commit 5f69e85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/full-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
java-version: ${{ matrix.java_version }}
2121
- name: Install
22-
run: mvn -DskipTests=true clean install -q -pl '!docs,!examples' -P checkstyle
22+
run: mvn -DskipTests=true clean install checkstyle:checkstyle -q -pl '!docs,!examples' -P checkstyle
2323
- name: Build
2424
run: mvn checkstyle:checkstyle package -pl '!docs,!examples' -P checkstyle
2525
env:

.github/workflows/quick-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
with:
2121
java-version: ${{ matrix.java_version }}
2222
- name: Install
23-
run: mvn dependency:go-offline -q -pl '!docs,!examples' -P checkstyle
23+
run: mvn -DskipTests=true clean install checkstyle:checkstyle -q -pl '!docs,!examples' -P checkstyle
2424
- name: Build
25-
run: mvn clean checkstyle:checkstyle package -pl '!docs,!examples' -P checkstyle
25+
run: mvn checkstyle:checkstyle package -pl '!docs,!examples' -P checkstyle
2626
env:
2727
BUILD_PORT: 0
2828
BUILD_SECURE_PORT: 0

0 commit comments

Comments
 (0)