Skip to content

Commit d6031b3

Browse files
committed
Fix CI workflow
1 parent b380004 commit d6031b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ jobs:
5252
run: just test-coverage
5353

5454
- name: Copy Coverage To Predictable Location
55-
if: always() && matrix.runner-os == 'ubuntu-latest'
55+
if: always() && matrix.runner-os == 'ubuntu-latest' && matrix.language == 'csharp'
5656
run: cp coverage/**/coverage.cobertura.xml coverage/coverage.cobertura.xml
5757

5858
- name: Code Coverage Summary Report
5959
uses: irongut/CodeCoverageSummary@v1.3.0
60-
if: always() && matrix.runner-os == 'ubuntu-latest'
60+
if: always() && matrix.runner-os == 'ubuntu-latest' && matrix.language == 'csharp'
6161
with:
6262
filename: coverage/coverage.cobertura.xml
6363
badge: true
@@ -66,15 +66,15 @@ jobs:
6666

6767
# This is used by the subsequent publish-test-results.yml
6868
- name: Upload Unit Test Results
69-
if: always() && matrix.runner-os == 'ubuntu-latest'
69+
if: always() && matrix.runner-os == 'ubuntu-latest' && matrix.language == 'csharp'
7070
uses: actions/upload-artifact@v4
7171
with:
7272
name: Unit Test Results
7373
path: src/OctoshiftCLI.Tests/unit-tests.xml
7474

7575
# This is used by the subsequent publish-test-results.yml
7676
- name: Upload Code Coverage Report
77-
if: always() && matrix.runner-os == 'ubuntu-latest'
77+
if: always() && matrix.runner-os == 'ubuntu-latest' && matrix.language == 'csharp'
7878
uses: actions/upload-artifact@v4
7979
with:
8080
name: Code Coverage Report

0 commit comments

Comments
 (0)