Skip to content

Commit 76eb562

Browse files
authored
Reduce maven parallel downloads
1 parent 945906e commit 76eb562

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ jobs:
5555
- os: macos-latest
5656
build-script: './mvnw'
5757

58-
concurrency:
59-
group: ${{ matrix.os }}
60-
6158
steps:
6259
- name: Checkout repository
6360
uses: actions/checkout@v3
@@ -75,12 +72,12 @@ jobs:
7572
run: >-
7673
${{ matrix.build-script }}
7774
-B
75+
-T4C
7876
-U
79-
-T8C
8077
--no-transfer-progress
8178
'-Dcheckstyle.skip=true'
8279
'-Dstyle.color=always'
83-
'-Dmaven.artifact.threads=50'
80+
'-Dmaven.artifact.threads=10'
8481
clean package
8582
8683
- name: Annotate test reports with build environment info
@@ -159,12 +156,12 @@ jobs:
159156
run: >-
160157
./mvnw
161158
-B
162-
-U
163-
-T8C
159+
-T4C
160+
-U
164161
--no-transfer-progress
165162
-DskipTests=true
166163
-Dstyle.color=always
167-
-Dmaven.artifact.threads=100
164+
-Dmaven.artifact.threads=10
168165
clean package
169166
170167
javadoc:
@@ -188,13 +185,13 @@ jobs:
188185
run: >-
189186
./mvnw
190187
-B
191-
-U
192-
-T8C
188+
-T4C
189+
-U
193190
--no-transfer-progress
194191
-Dmaven.test.skip=true
195192
-Dcheckstyle.skip=true
196193
-Dstyle.color=always
197-
-Dmaven.artifact.threads=100
194+
-Dmaven.artifact.threads=10
198195
clean compile javadoc:jar
199196
200197
- name: Archive JavaDoc artifacts

0 commit comments

Comments
 (0)