From 3520658bc5b431d8a84f9fa7f859521e50793e9e Mon Sep 17 00:00:00 2001 From: David Benedeki Date: Tue, 25 Jun 2024 16:43:28 +0200 Subject: [PATCH] * using Number() --- .github/workflows/jacoco_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jacoco_report.yml b/.github/workflows/jacoco_report.yml index 48a54ad1..61084bd6 100644 --- a/.github/workflows/jacoco_report.yml +++ b/.github/workflows/jacoco_report.yml @@ -101,7 +101,7 @@ jobs: echo "Total doobie coverage ${{ steps.jacoco-doobie.outputs.coverage-overall }}" echo "Changed doobie Files coverage ${{ steps.jacoco-doobie.outputs.coverage-changed-files }}" - name: Fail PR if Core changed files coverage is less than ${{ env.COVERAGE_CHANGED_EXPECTATION }}% - if: ${{ steps.jacoco-core.outputs.coverage-changed-files < env.COVERAGE_CHANGED_EXPECTATION }} + if: ${{ Number(steps.jacoco-core.outputs.coverage-changed-files) < Number(env.COVERAGE_CHANGED_EXPECTATION) }} uses: actions/github-script@v6 with: script: |