Skip to content

Commit

Permalink
refactor coveralls token
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEXSM committed May 16, 2024
1 parent ba4ffd6 commit 90533a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}})
Expand All @@ -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:
Expand Down

0 comments on commit 90533a2

Please sign in to comment.