Skip to content

Commit

Permalink
workflow: not using sed
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Sep 12, 2024
1 parent 4f7fa84 commit b3efc61
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ jobs:
cd repo;
echo "ORIGINAL README:"
tail README.md
sed -i "s|!\\[coverage-badge\\](.*)|![coverage-badge](${badge_url})|" README.md;
head -n -1 README.md > README_tmp.md
echo "${badge_url}" >> README_tmp.md
mv README_tmp.md README.md
#sed -i "s|!\\[coverage-badge\\](.*)|![coverage-badge](${badge_url})|" README.md;
echo "UPDATED README:"
tail README.md
if git diff --quiet; then
Expand Down

0 comments on commit b3efc61

Please sign in to comment.