Tweak upload/download of codecov xml file

This commit is contained in:
Michael Kaye 2022-03-04 15:15:52 +00:00
parent 2dedad1cf2
commit 96168929ff
1 changed files with 3 additions and 2 deletions

View File

@ -331,7 +331,7 @@ jobs:
with:
name: codecov-xml
path: |
build/jacoco/*.xml
build/reports/jacoco/allCodeCoverageReport/allCodeCoverageReport.xml
sonarqube:
runs-on: macos-latest
@ -354,7 +354,8 @@ jobs:
${{ runner.os }}-gradle-
- uses: actions/download-artifact@v3
with:
artifact: codecov-xml # will restore to build/ as a local run would do
name: codecov-xml # will restore to build/reports/jacoco/allCodeCoverageReport/allCodeCoverageReport.xml by default
- run: ls -R build/reports # temporary check to see if the report is actually downloading correctly.
- run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
env:
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}