diff options
author | Léo Colombaro <git@colombaro.fr> | 2022-03-10 10:47:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 10:47:22 +0300 |
commit | a7d126711e40d727190a9429a212089a70983f29 (patch) | |
tree | 38ac9d9d63f166a092f62b64a89aa19865987e2d | |
parent | dae8ad8786123950667818ff78d333135b47b7d5 (diff) |
Upload coverage only when coverage is enabled
ref https://github.com/YOURLS/YOURLS/issues/3238
-rw-r--r-- | .github/workflows/ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b03e1b42..2c2d5644 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,5 +77,6 @@ jobs: - name: Upload Scrutinizer coverage uses: sudo-bot/action-scrutinizer@latest + if: matrix.coverage with: cli-args: "--format=php-clover clover.xml" |