From 362ad350816fecc28a04fba5aa3ff3f0a0429649 Mon Sep 17 00:00:00 2001 From: Xiaoxuan Wang <103478229+wangxiaoxuan273@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:27:18 +0800 Subject: [PATCH] bump(ci): add codecov token (#120) Signed-off-by: Xiaoxuan Wang --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d19271..0db5430 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,5 +41,7 @@ jobs: run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover ./tests/OrasProject.Oras.Tests - name: Upload coverage to codecov.io uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: file: ./tests/OrasProject.Oras.Tests/coverage.opencover.xml