From 1d14725726d1f161ef2718352e46a78739b96d15 Mon Sep 17 00:00:00 2001 From: PragmaTwice Date: Wed, 27 Nov 2024 20:43:23 +0800 Subject: [PATCH] Add token to codecov --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2dbf275..45e44fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,8 @@ jobs: run: lcov --directory . --capture --output-file coverage.info if: ${{ matrix.coverage }} - name: upload coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.info if: ${{ matrix.coverage }}