diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 00ea24a1..4c125ff0 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -7,6 +7,7 @@ on: env: DOTNET_VERSION: '3.1.x' CONFIGURATION: 'Release' + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} jobs: ci: name: build&test&coverage(${{matrix.os}}) @@ -33,7 +34,7 @@ jobs: dotnet minicover report dotnet minicover coverallsreport --service-name "github" \ --service-job-id ${{ github.run_id }} \ - --repo-token ${{ secrets.COVERALLS_REPO_TOKEN }} \ + --repo-token ${{ env.COVERALLS_REPO_TOKEN }} \ --branch ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} \ --commit ${{ github.sha }} cd: