Skip to content

Commit 22a5b52

Browse files
build: fix nightly failures in Java 11 jobs (#3753)
Additionally: we use cloud-java-bot to create the flakiness issues.
1 parent e303ead commit 22a5b52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/nightly.yaml

+4-4
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
27+
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -Dfmt.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
52+
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -DskipTests -Dfmt.skip
5353

5454
- uses: actions/setup-java@v4
5555
with:
@@ -58,11 +58,11 @@ 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
61+
run: mvn surefire:test --errors --batch-mode --no-transfer-progress -Dfmt.skip
6262
- name: Create issue if previous step fails
6363
if: ${{ failure() }}
6464
env:
65-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
GITHUB_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
6666
run: |
6767
gh issue create \
6868
--title "Nightly-java8 build on ${{ matrix.os }} failed." \

0 commit comments

Comments
 (0)