From 200f84900afeb6554b9c4be729e1dad767e0c087 Mon Sep 17 00:00:00 2001 From: hdulme Date: Wed, 31 Dec 2025 16:12:13 +0100 Subject: [PATCH] prevent multiple coverage uploads --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 464d994..16e14ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,7 @@ jobs: - name: 'Generate coverage report' run: ./gradlew --warning-mode=all jacocoTestReport - name: 'Upload coverage to Codecov' - if: github.repository == 'mapstruct/mapstruct-idea' + if: github.repository == 'mapstruct/mapstruct-idea' && matrix.version.idea == '2024.2' uses: codecov/codecov-action@v5 with: fail_ci_if_error: true