Skip to content

Commit 5a0b9ed

Browse files
committed
Fix
1 parent 25ae817 commit 5a0b9ed

File tree

1 file changed

+3
-2
lines changed
  • .github/actions/reports-group/codacy-uploader

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,15 @@ runs:
8383
script: |
8484
core.setFailed('Unable to retrieve any report to upload. Something wrong most likely happened !');
8585
86-
- name: TMP - remove repository used for custom action # Might interfere with Codacy, so to check
86+
- name: TMP - create an empty workspace # Repository used for custom action might interfere with Codacy, so to check
8787
shell: bash
88-
run: rm -Rf custom-action-repo
88+
run: mkdir empty-codacy-workspace
8989

9090
- name: Upload to codacy
9191
id: upload
9292
uses: codacy/codacy-coverage-reporter-action@v1
9393
env:
94+
GITHUB_WORKSPACE: ./empty-codacy-workspace # TMP
9495
GITHUB_SHA: ${{ inputs.override-commit }} # Lonely way to override the commit without having to deal with CLI uploader directly :/
9596
GITHUB_EVENT_NAME: push # Force the event to "push" to be sure uploader will leverage GITHUB_SHA and not something else (mostly in case event is `pull_request`)
9697
with:

0 commit comments

Comments
 (0)