Skip to content

Commit

Permalink
Fix if for upload coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Feb 3, 2025
1 parent 15f59c7 commit 13b1df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
if: ${{ github.event.inputs == null || github.event.inputs.upload_coverage == true }}
if: ${{ github.event_name == 'push' || inputs.upload_coverage == true }}
with:
fail_ci_if_error: true
files: ./target/lcov.info
Expand Down

0 comments on commit 13b1df5

Please sign in to comment.