From e3a9ef3defc25f4f10f6158c2bcb82e3851ffdec Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Tue, 21 Feb 2023 16:49:47 +0100 Subject: [PATCH] Only upload to codecov on windows --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d00c29b..94a858f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,8 @@ jobs: - name: Test with dotnet run: dotnet test FFMpegCore.sln --collect "XPlat Code Coverage" --logger GitHubActions - - name: Upload coverage reports to Codecov + - if: matrix.os == 'windows-latest' + name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 with: directory: FFMpegCore.Test/TestResults