File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
.github/actions/reports-group/codacy-uploader Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,12 @@ runs:
8888 core.setFailed('Unable to retrieve any report to upload. Something wrong most likely happened !');
8989
9090 - name : Upload to codacy
91- shell : bash
92- env :
93- TOKEN : ${{ inputs.project-token }}
94- COMMIT_PARAM : ${{ steps.build-uploader-options.outputs.commit-param }}
95- REPORTS_PARAM : ${{ steps.build-uploader-options.outputs.coverage-reports-param }}
96- run : |
97- mkdir -p ~/.cache/codacy \
98- && curl -LN https://coverage.codacy.com/get.sh -o ~/.cache/codacy/codacy.sh \
99- && chmod +x ~/.cache/codacy/codacy.sh \
100- && ~/.cache/codacy/codacy.sh report --project-token $TOKEN $COMMIT_PARAM $REPORTS_PARAM
91+ id : upload
92+ uses : yoanm/codacy-coverage-reporter-action@43084e173e324c195f9d6cecf5e57621f7e1cfca
93+ with :
94+ coverage-reports : ${{ steps.build-uploader-options.outputs.coverage-reports }}
95+ project-token : ${{ inputs.project-token }}
96+ force-commit-sha : ${{ inputs.override-commit }}
10197
10298 - name : Build action outputs
10399 id : build-outputs
You can’t perform that action at this time.
0 commit comments