Skip to content

Commit f1d976f

Browse files
committed
Temporary switch to forked action
Waiting updates on original action
1 parent 0773157 commit f1d976f

File tree

1 file changed

+6
-10
lines changed
  • .github/actions/reports-group/codacy-uploader

1 file changed

+6
-10
lines changed

.github/actions/reports-group/codacy-uploader/action.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)