Skip to content

Commit

Permalink
Fix minor issues with Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarsotovalero committed Mar 26, 2021
1 parent 0537c2b commit d56fecb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
os: [ ubuntu-latest, windows-latest ]
java: [ 11 ]
runs-on: ${{ matrix.os }}
name: Build with Java ${{ matrix.java }} on ${{ matrix.os }}
steps:
- name: "Checkout"
uses: actions/checkout@v2
Expand All @@ -40,11 +41,12 @@ jobs:
- name: "Integration Tests"
run: mvn failsafe:integration-test --errors --fail-at-end
# The following is only executed on Ubuntu on Java 11
- name: "CodeCov"
- name: "Codecov"
if: matrix.os == 'ubuntu-latest' && matrix.java == 11 && github.repository == 'castor-software/depclean'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./depclean-maven-plugin/target/site/jacoco/jacoco.xml,./depclean-core/target/site/jacoco/jacoco.xml
flags: unittests
- name: "Cache SonarCloud"
if: matrix.os == 'ubuntu-latest' && matrix.java == 11 && github.repository == 'castor-software/depclean'
Expand Down

0 comments on commit d56fecb

Please sign in to comment.