Skip to content

Commit

Permalink
improved workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Sep 12, 2024
1 parent 9616823 commit 4f7fa84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,13 @@ jobs:
cd repo;
echo "ORIGINAL README:"
tail README.md
#sed -i "s|!\\[coverage-badge\\](.*)|![coverage-badge](${badge_url})|" README.md;
echo "TESTING " >> README.md;
sed -i "s|!\\[coverage-badge\\](.*)|![coverage-badge](${badge_url})|" README.md;
echo "UPDATED README:"
tail README.md
if git diff --quiet; then
echo "No changes detected in README.md. Skipping commit and push."
exit 0
fi
echo "HERE1"
git config user.name "github-actions"
echo "HERE2"
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ For complete documentation, see the [API Documentation page](https://wrench-pyth
[build-link]: https://github.com/wrench-project/wrench-api/actions
[license-badge]: https://img.shields.io/badge/License-LGPL%20v3-blue.svg
[coverage-badge]: https://img.shields.io/badge/coverage-69%25-brightgreen
TESTING

0 comments on commit 4f7fa84

Please sign in to comment.