Skip to content

Commit 12fd80c

Browse files
authored
Update codecov.yml
1 parent 63ae4e9 commit 12fd80c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codecov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
if [ $(git branch --show-current) != $BRANCH ]; then PR=$(gh pr view $BRANCH --json number -q .number); fi
5050
echo uploading $BRANCH
5151
SHA=${{ github.event.workflow_run.head_sha }}
52-
VARARGS="-n github"
53-
# if a PR, pass proper information to codecov-cli about SHA, PR number
54-
if [ -n "${PR}" ]; then VARARGS="${VARARGS}-${PR}-${SHA} -P ${PR} -C ${SHA}"; fi
52+
VARARGS="-C ${SHA} -n github-${SHA}"
53+
# if a PR, pass proper information to codecov-cli about the PR number
54+
if [ -n "${PR}" ]; then VARARGS="${VARARGS}-${PR} -P ${PR}"; fi
5555
./codecov -v upload-process -Z -t ${{ secrets.CODECOV_TOKEN }} $VARARGS -F github -s ./coverage
5656
env:
5757
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)