File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
33
# cross-platform coverage.
34
34
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
35
35
runs-on : ubuntu-latest
36
+ outputs :
37
+ cov : ${{ steps.cov_gen.outputs.path }}
36
38
strategy :
37
39
matrix :
38
40
include :
@@ -104,13 +106,13 @@ jobs:
104
106
genhtml main_coverage.info --ignore-errors source --output-directory out -p ${{github.workspace}}
105
107
tar -czf cov.tar.gz out
106
108
ls -lh cov.tar.gz
107
- export covFile=`realpath cov.tar.gz`
109
+ # export covFile=`realpath cov.tar.gz`
108
110
109
- echo "cov=$covFile " >> $GITHUB_OUTPUT
111
+ echo "path=${{github.workspace}}/build/cov.tar.gz " >> $GITHUB_OUTPUT
110
112
111
113
- name : Upload coverage
112
114
uses : actions/upload-artifact@v3
113
115
with :
114
116
name : coverage-report
115
- path : ${{ steps.cov_gen.outputs.cov }}
117
+ path : ${{ steps.cov_gen.outputs.cov.path }}
116
118
if-no-files-found : error
You can’t perform that action at this time.
0 commit comments