diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index bad24465..4c71dda1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -61,8 +61,8 @@ jobs: - name: Merge all profiles run: gocovmerge *.gocov > full-coverage.gocov - name: Generate Tree Map - run: go-cover-treemap -coverprofile full-coverage.gocov > coverage.svg - - name: Create report - run: |- - echo "## Coverage Report" >> $GITHUB_STEP_SUMMARY - cat coverage.svg >> $GITHUB_STEP_SUMMARY + run: go-cover-treemap -coverprofile full-coverage.gocov > coverage-tree-map.svg + - uses: actions/upload-artifact@v3 + with: + name: coverage-tree-map.svg + path: coverage-tree-map.svg