diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 668e05a1c..b0984b490 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: - name: Update coverage on service run: | - coverage=$(grep -oP "(?<=)[^<]+" coverage/lcov-report/index.html | tr -d '%') + coverage=$(grep -oP "(?<=)[0-9]+(\.[0-9]+)?" coverage/lcov-report/index.html | head -n 1) curl -X PUT \ -H "Content-Type: application/json" \