Skip to content

Commit

Permalink
Ship Corbertura assets as a zip for our partner
Browse files Browse the repository at this point in the history
They are requiring a zip file instead of the xml directly. Ship it both
so that we still link the xml directly from README.
  • Loading branch information
didrocks committed Mar 26, 2024
1 parent a38cc53 commit 37ef411
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,18 @@ jobs:
with:
file: ./coverage/codecov/Cobertura.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Publish coverage as a release artifact

# For quality indicator model partner measure.
- name: Compress coverage for release asset
if: startsWith(github.ref, 'refs/tags/')
run: cd ./coverage/codecov/ && zip ../Cobertura.xml.zip ./Cobertura.xml
- name: Publish coverage as a release asset
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./coverage/codecov/Cobertura.xml
files: |
./coverage/codecov/Cobertura.xml
./coverage/Cobertura.xml.zip
adwatchd-tests:
name: Windows tests for adwatchd
Expand Down

0 comments on commit 37ef411

Please sign in to comment.