You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/reports-group/codacy-uploader/action.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -83,14 +83,15 @@ runs:
83
83
script: |
84
84
core.setFailed('Unable to retrieve any report to upload. Something wrong most likely happened !');
85
85
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
87
87
shell: bash
88
-
run: rm -Rf custom-action-repo
88
+
run: mkdir empty-codacy-workspace
89
89
90
90
- name: Upload to codacy
91
91
id: upload
92
92
uses: codacy/codacy-coverage-reporter-action@v1
93
93
env:
94
+
GITHUB_WORKSPACE: ./empty-codacy-workspace # TMP
94
95
GITHUB_SHA: ${{ inputs.override-commit }} # Lonely way to override the commit without having to deal with CLI uploader directly :/
95
96
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`)
0 commit comments