Skip to content

Commit af58d0c

Browse files
blakeli0lqiu96
authored andcommitted
chore: Stop running Maven commands in multi treads in nightly CI (#3366)
Nightly CI could fail due to running maven commands in multi-treads on Windows, see #3362 for details. Remove `-T 1C` in nightly.yaml to stop running Maven commands in multi treads in nightly CI. This is acceptable since running time is not a main concern in nightly CI.
1 parent 6e45e8d commit af58d0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nightly.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
cache: maven
2525
- run: mvn -version
2626
- name: Install
27-
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -T 1C
27+
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip
2828
- name: Create issue if previous step fails
2929
if: ${{ failure() }}
3030
env:
@@ -49,7 +49,7 @@ jobs:
4949
cache: maven
5050
- run: mvn -version
5151
- name: Install with Java 11
52-
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -DskipTests -T 1C
52+
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -DskipTests
5353

5454
- uses: actions/setup-java@v3
5555
with:
@@ -58,7 +58,7 @@ jobs:
5858
- run: mvn -version
5959
- name: Test with Java 8
6060
# Direct goal invocation ("surefire:test") prevents recompiling tests
61-
run: mvn surefire:test --errors --batch-mode --no-transfer-progress -T 1C
61+
run: mvn surefire:test --errors --batch-mode --no-transfer-progress
6262
- name: Create issue if previous step fails
6363
if: ${{ failure() }}
6464
env:

0 commit comments

Comments
 (0)