diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index 3d924218..035325c4 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -91,6 +91,7 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 + if: ${{ contains(matrix.os, 'ubuntu') }} with: token: ${{ secrets.CODECOV_TOKEN }} flags: C diff --git a/.github/workflows/cplusplus.yml b/.github/workflows/cplusplus.yml index 278dfcfb..dc461c49 100644 --- a/.github/workflows/cplusplus.yml +++ b/.github/workflows/cplusplus.yml @@ -84,6 +84,7 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 + if: ${{ contains(matrix.os, 'ubuntu') }} with: token: ${{ secrets.CODECOV_TOKEN }} flags: Cpp