Skip to content

Commit

Permalink
update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DI-Tony-Reed committed Oct 14, 2024
1 parent 74b9914 commit b1fb211
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/update-tests-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ jobs:
echo "Current README.md content:"
cat README.md # Debug output
# Update the badge or append if not found
if grep -q "Coverage Badge" README.md; then
sed -i "s|![Coverage Badge](.*)|$BADGE_MARKDOWN|g" README.md
else
echo "$BADGE_MARKDOWN" >> README.md
fi
sed -i "s/![Coverage Badge](.*)/$BADGE_MARKDOWN/g" README.md
echo "Updated README.md content:"
cat README.md # Debug output
Expand Down

0 comments on commit b1fb211

Please sign in to comment.