Skip to content

Commit 8511842

Browse files
committed
Upload coverage report to Codacy only when on Ubuntu
codacy/codacy-coverage-reporter-action is not supported on Windows: > Error: Container action is only supported on Linux
1 parent c5f5818 commit 8511842

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
id: dotnet-test
3939
- name: Upload coverage report to Codacy
4040
uses: codacy/codacy-coverage-reporter-action@master
41+
if: matrix.os == 'ubuntu-latest'
4142
with:
4243
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
4344
coverage-reports: ${{ steps.dotnet-test.outputs.coverlet-reports }}

0 commit comments

Comments
 (0)