Skip to content

Commit 6f55139

Browse files
committed
Improve
1 parent 5d01a54 commit 6f55139

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/reusable-coverage-upload-workflow.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ jobs:
4242
artifacts-pattern: coverage-groups-*
4343
run-id: ${{ needs.fetch-info.outputs.run-id }}
4444
override-job-name: "Codacy title"
45-
#override-commit: ${{ needs.fetch-info.outputs.commit-sha }} # Uploader action doesn't support it !
45+
force-git-commit: ${{ needs.fetch-info.outputs.commit-sha }}
46+
# force-uploader-language: ...
47+
# force-uploader-coverage-parser: ...
48+
# force-uploader-cli-version: ...
4649

4750
codecov-uploader:
4851
name: Codecov
@@ -57,11 +60,11 @@ jobs:
5760
artifacts-pattern: coverage-groups-*
5861
run-id: ${{ needs.fetch-info.outputs.run-id }}
5962
override-job-name: "Codecov title"
60-
override-commit: ${{ needs.fetch-info.outputs.commit-sha }}
61-
override-branch: ${{ needs.fetch-info.outputs.branch }}
62-
override-pr: ${{ needs.fetch-info.outputs.pr-number }}
63-
override-build: ${{ needs.fetch-info.outputs.run-id }}
64-
override-build-url: ${{ needs.fetch-info.outputs.run-url }}
63+
force-git-commit: ${{ needs.fetch-info.outputs.commit-sha }}
64+
force-git-branch: ${{ needs.fetch-info.outputs.branch }}
65+
force-gh-pr: ${{ needs.fetch-info.outputs.pr-number }}
66+
force-uploader-build: ${{ needs.fetch-info.outputs.run-id }}
67+
force-uploader-build-url: ${{ needs.fetch-info.outputs.run-url }}
6568

6669
debug-context:
6770
name: DEBUG - context

0 commit comments

Comments
 (0)