From 637c3a371f3a9fe5000dbbbc6d804d01103b1d41 Mon Sep 17 00:00:00 2001 From: soloturn Date: Sat, 21 Nov 2020 15:09:38 +0100 Subject: [PATCH 1/2] mvn -B talks less when downloading dependencies in check builds --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bb44b0c84..bb2c54d86 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -18,4 +18,4 @@ jobs: with: java-version: ${{ matrix.java }} - name: Build with Maven - run: mvn package --file pom.xml + run: mvn -B package --file pom.xml From 45059d3a00f856de6482684800ccb6ae124dd685 Mon Sep 17 00:00:00 2001 From: soloturn Date: Thu, 26 Nov 2020 22:37:06 +0100 Subject: [PATCH 2/2] one build is sufficient to test newest java check builds are flaky, and doing them more often in a short time frame makes them even more flaky. --- .github/workflows/maven.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bb2c54d86..bff988722 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,7 +9,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - java: [1.8, 1.14] + java: [1.8] + include: # test newest java on one os only + - os: ubuntu-latest + java: 1.14 steps: - uses: actions/checkout@v1