ci(pr-validation): guard badge upload on coverage file
This commit is contained in:
@@ -151,7 +151,7 @@ jobs:
|
||||
|
||||
- name: Upload coverage badge
|
||||
id: badge
|
||||
if: ${{ always() }}
|
||||
if: ${{ always() && hashFiles('coverage.out') != '' }}
|
||||
uses: https://git.hrafn.xyz/aether/vociferate/coverage-badge@v1.1.0
|
||||
with:
|
||||
artefact-bucket-name: ${{ vars.ARTEFACT_BUCKET_NAME }}
|
||||
|
||||
Reference in New Issue
Block a user