Skip to content

Commit 0188474

Browse files
committed
Fixed codecov
Signed-off-by: Owais <[email protected]>
1 parent fd67764 commit 0188474

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,13 @@ jobs:
5050
chown -R 1000:1000 `pwd`
5151
su `id -un 1000` -c "./gradlew check --parallel && ./gradlew jacocoTestReport && cp -v build/reports/jacoco/test/jacocoTestReport.xml ./jacocoTestReport.xml"
5252
53-
- uses: actions/upload-artifact@v4
54-
if: ${{ matrix.os }} == "ubuntu-latest"
55-
with:
56-
name: coverage-report-${{ matrix.os }}-${{ matrix.java }}
57-
path: ./jacocoTestReport.xml
58-
5953
- name: Upload Coverage Report
54+
if: contains(matrix.os, 'ubuntu') && contains(matrix.java, '21')
6055
uses: codecov/codecov-action@v5
56+
env:
57+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6158
with:
62-
token: ${{ secrets.CODECOV_TOKEN }}
63-
files: ./jacocoTestReport.xml
59+
file: ./build/reports/jacoco/test/jacocoTestReport.xml
6460

6561
Check-neural-search-windows:
6662
strategy:

0 commit comments

Comments
 (0)