File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-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,15 @@ 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`
110
+ export covFile = ${{github.workspace}}/build/cov.tar.gz
108
111
109
- echo "cov=$covFile" >> $GITHUB_OUTPUT
112
+
113
+ echo "path=$covFile" >> $GITHUB_OUTPUT
110
114
111
115
- name : Upload coverage
112
116
uses : actions/upload-artifact@v3
113
117
with :
114
118
name : coverage-report
115
- path : ${{ steps.cov_gen.outputs.cov }}
119
+ path : ${{ steps.cov_gen.outputs.cov.path }}
116
120
if-no-files-found : error
You can’t perform that action at this time.
0 commit comments