Skip to content

Commit 99bdd59

Browse files
committed
code-coverage.yml: concurrency, quoting rules
1 parent 9f8d9d0 commit 99bdd59

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/code-coverage.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ on:
2626
- '.github/workflows/code-coverage.yml'
2727
workflow_dispatch:
2828

29+
concurrency:
30+
group: code-coverage-pages
31+
cancel-in-progress: false
32+
2933
env:
3034
GIT_FETCH_JOBS: 8
3135
NET_RETRY_COUNT: 5
@@ -111,8 +115,8 @@ jobs:
111115
mkdir -p gh_pages_dir/develop
112116
mkdir -p gh_pages_dir/master
113117
rm -rf "gh_pages_dir/${GITHUB_REF_NAME}/gcovr"
114-
cp -rp gcovr gh_pages_dir/${GITHUB_REF_NAME}/
115-
echo -e "<html>\n<head>\n</head>\n<body>\n<a href=develop/index.html>develop</a><br>\n<a href=master/index.html>master</a><br>\n</body>\n</html>\n" > gh_pages_dir/index.html
118+
cp -rp gcovr "gh_pages_dir/${GITHUB_REF_NAME}/"
119+
echo -e "<html>\n<head>\n</head>\n<body>\n<a href=\"develop/index.html\">develop</a><br>\n<a href=\"master/index.html\">master</a><br>\n</body>\n</html>\n" > gh_pages_dir/index.html
116120
# In the future: echo -e "<html>\n<head>\n</head>\n<body>\n<a href=gcovr/index.html>gcovr</a><br>\n</body>\n</html>\n" > gh_pages_dir/develop/index.html
117121
echo -e "<html>\n<head>\n<meta http-equiv=\"refresh\" content=\"0; url=./gcovr/index.html\">\n</head>\n<body>\n</body>\n</html>\n" > gh_pages_dir/develop/index.html
118122
cp gh_pages_dir/develop/index.html gh_pages_dir/master/index.html

0 commit comments

Comments
 (0)