Skip to content

Commit ee96285

Browse files
committed
Refactor
1 parent 32eaf03 commit ee96285

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@ runs:
1616
uses: actions/download-artifact@v2
1717
with:
1818
name: ${{ inputs.artifact }}
19-
path: coverage
19+
path: ${{ runner.temp }}/coverage
2020
- name: Collect names
2121
id: meta
2222
run: |
23-
FILES=$(find coverage -type f -print0 | tr '\0' ' ')
23+
FILES=$(ls --dired | tr '\n' ' ')
2424
echo "::set-output name=files::${FILES# // /,}"
25+
workdir: ${{ runner.temp }}/coverage
2526
shell: bash
2627
- name: Upload coverage
2728
uses: codecov/[email protected]
2829
with:
2930
files: ${{ steps.meta.outputs.files }}
31+
directory: ${{ runner.temp }}/coverage
3032
fail_ci_if_error: ${{ inputs.fail_ci_if_error }}

0 commit comments

Comments
 (0)