Skip to content

Commit

Permalink
Generating of badge only on master & develop
Browse files Browse the repository at this point in the history
  • Loading branch information
RHarryH committed Dec 2, 2023
1 parent 679459e commit 1dbb4ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
- name: Build with Maven
run: mvn -Davispa.ecm.office.home='/usr/lib/libreoffice' -B verify

generate_badges:
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
steps:
- name: Generate JaCoCo Badge
uses: cicirello/jacoco-badge-generator@v2.9.0
with:
Expand Down

0 comments on commit 1dbb4ad

Please sign in to comment.