From ae6775bad89e100e241952274563f8076d59a2b3 Mon Sep 17 00:00:00 2001 From: agrancaric Date: Thu, 5 May 2022 08:28:41 +0200 Subject: [PATCH] Remove not needed condition (Java 8) from workflow since we're only building with Java 8 --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3828419a0..028d3fbff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,26 +60,26 @@ jobs: arguments: clean build - name: JaCoCo Coverage Report - if: ${{ matrix.os == 'ubuntu-latest' && matrix.java == '8' }} + if: ${{ matrix.os == 'ubuntu-latest' }} uses: gradle/gradle-build-action@v2 with: arguments: jacocoTestReport testCodeCoverageReport - name: Publish JaCoCo Coverage Report - if: ${{ matrix.os == 'ubuntu-latest' && matrix.java == '8' }} + if: ${{ matrix.os == 'ubuntu-latest' }} uses: codecov/codecov-action@v2 with: name: Aggregated JaCoCo Report files: build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml - name: Aggregate Javadoc - if: ${{ matrix.os == 'ubuntu-latest' && matrix.java == '8' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} + if: ${{ matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} uses: gradle/gradle-build-action@v2 with: arguments: aggregateJavadoc - name: Deploy Javadoc to GitHub Pages - if: ${{ matrix.os == 'ubuntu-latest' && matrix.java == '8' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} + if: ${{ matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} uses: JamesIves/github-pages-deploy-action@v4.3.0 with: branch: gh-pages