diff --git a/.github/workflows/update-badge.yml b/.github/workflows/update-badge.yml index 68520d8..5e20cbd 100644 --- a/.github/workflows/update-badge.yml +++ b/.github/workflows/update-badge.yml @@ -40,7 +40,7 @@ jobs: - name: Update README run: | - sed -i '//,//c\\n\${{ steps.coverage.outputs.coverageHtml }}\n' ./README.md + sed -i '//,//c\\n![Coverage](https://img.shields.io/badge/Coverage-${{ steps.coverage.outputs.coverage }}%25-${{ steps.coverage.outputs.color }}?style=for-the-badge)\n' ./README.md - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5