From 4c4969d95ab68d87a6a2969b4420e2025ce4e978 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Thu, 16 Mar 2023 14:22:06 +0100 Subject: [PATCH] Use Codecov action --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be601dd74..026ec9225 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,13 +133,9 @@ jobs: env: LD_LIBRARY_PATH: "/home/runner/BUILD_${{matrix.target}}/INSTALL/lib:/home/runner/BUILD_${{matrix.target}}/INSTALL/lib${{matrix.lib_postfix}}" SKIP_BIG_MEMORY_TEST: 1 + - name: Publish coverage - shell: bash - run: | - cd $HOME/libkiwix - curl https://codecov.io/bash -o codecov.sh - bash codecov.sh -n "${OS_NAME}_${{matrix.target}}" -Z - rm codecov.sh if: startsWith(matrix.target, 'native_') - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file