File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 79
79
uses : actions/upload-artifact@v4
80
80
with :
81
81
name : code-coverage-report
82
- path : target/coverage/html/
82
+ path : target/coverage/html/
83
+ - name : Update coverage badge
84
+ if : ${{ matrix.run_args.generates_coverage }}
85
+ run : |
86
+ cp target/coverage/html/badges/for_the_badge.svg badges/coverage.svg
87
+
88
+ git config user.name "github-actions[bot]"
89
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
90
+ git add badges/coverage.svg
91
+
92
+ if [[ -n $(git status -s) ]]; then
93
+ git commit -m "chore(badge): Update coverage badge" -m "[skip ci]"
94
+ git push
95
+ fi
Original file line number Diff line number Diff line change 1
- <img src =" ./badges/coverage.svg " width =" 100 " >
1
+ <img src =" ./badges/coverage.svg " width =" 175 " >
2
+
3
+ ---
4
+
2
5
<p align =" center " >
3
6
<img src="./logo_bevy_scripting.svg" width="250" onerror="this.onerror=null; this.src='https://raw.githubusercontent.com/makspll/bevy_mod_scripting/main/logo_bevy_scripting.svg'">
4
7
</p >
You can’t perform that action at this time.
0 commit comments