We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 856d1bc commit 6d319b9Copy full SHA for 6d319b9
1 file changed
.github/workflows/coverage.yml
@@ -24,10 +24,10 @@ jobs:
24
run: |
25
cd Lab1
26
PCT=$(grep 'Lines executed' coverage_checksum.txt | head -1 | sed -E 's/.*:([0-9.]+)%.*$/\1/')
27
- cd ../../
28
- sed -i 's/badge\/coverage-[0-9]\+\.?[0-9]*%25/badge\/coverage-'"$PCT"'%25/' ../README.md
+ cd ../
+ sed -i 's/badge\/coverage-[0-9]\+\.?[0-9]*%25/badge\/coverage-'"$PCT"'%25/' README.md
29
git config user.name "github-actions[bot]"
30
git config user.email "github-actions[bot]@users.noreply.github.com"
31
- git add ../README.md
+ git add README.md
32
git commit -m "Update coverage badge to $PCT%" || echo "No changes to commit"
33
git push
0 commit comments