Skip to content

Commit

Permalink
Merge pull request #110 from croz-ltd/feature_removeNotNeededConditio…
Browse files Browse the repository at this point in the history
…nFromWorkflow

Remove not needed condition (Java 8) from workflow since we're only b…
  • Loading branch information
jsajlovic authored May 6, 2022
2 parents d52be62 + ae6775b commit eace7f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eace7f4

Please sign in to comment.