diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 32a14ffa..902ea7a1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -98,7 +98,9 @@ jobs: if: always() uses: ./.github/actions/show-disk-usage - name: Upload code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Upload artifacts uses: actions/upload-artifact@v3 if: ${{ matrix.privilege-level == 'priv' }} diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index bd039e50..1426c0da 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -95,8 +95,9 @@ jobs: if: always() uses: ./.github/actions/show-disk-usage - name: Upload code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} files: coverage-${{ matrix.privilege-level}}.txt - name: Upload artifacts uses: actions/upload-artifact@v3