From 766366788eabc5d41b7102e942f980aa4575d25b Mon Sep 17 00:00:00 2001 From: Ben van Hartingsveldt Date: Fri, 3 Jan 2025 16:21:31 +0100 Subject: [PATCH] Fix uploading to Codecov --- .github/workflows/maven.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c68078d..cb30969 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,7 +25,8 @@ jobs: - name: Update dependency graph uses: advanced-security/maven-dependency-submission-action@v4 - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file