Skip to content

Commit 02d921a

Browse files
committed
update report command
1 parent 71720fd commit 02d921a

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/bevy_mod_scripting.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,9 @@ jobs:
7474
- name: Check
7575
run: |
7676
${{ matrix.run_args.command }}
77-
- name: Install lcov/genhtml
77+
- name: Upload coverage artifact
7878
if: ${{ matrix.run_args.generates_coverage }}
79-
run: |
80-
sudo apt-get install lcov -y
81-
- name: Report code coverage
82-
if: ${{ matrix.run_args.generates_coverage }}
83-
uses: zgosalvez/github-actions-report-lcov@v3
79+
uses: actions/upload-artifact@v4
8480
with:
85-
coverage-files: |
86-
**/lcov.info
87-
minimum-coverage: 50
88-
artifact-name: code-coverage-report
89-
github-token: ${{ secrets.GITHUB_TOKEN }}
81+
name: code-coverage-report
82+
path: target/coverage/html/

0 commit comments

Comments
 (0)