From 848042c69baca8aea6d4607931711ad0500de5aa Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 23 Dec 2024 13:34:13 +0800 Subject: [PATCH] ci: fix Codecov environment variables (#4786) --- .github/workflows/unit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index ac2392dc2..c42532475 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -46,7 +46,10 @@ jobs: run: go test -v -run=^$ -benchtime 0.5s -bench=. $(go list ./... | grep -v integrationtests/self) - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 + env: + OS: ${{ matrix.os }} + GO: ${{ matrix.go }} with: files: coverage.txt,coverage-root.txt - env_vars: OS=${{ matrix.os }}, GO=${{ matrix.go }} + env_vars: OS,GO token: ${{ secrets.CODECOV_TOKEN }}