File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 9595# gist_id: 82b48469578014fc69d5aa64ef0a443f
9696# gist_file_name: go-lanai-${{ github.head_ref || inputs.branch || 'main' }}-coverage.md
9797# file_path: code-coverage-results.md
98+ - name : " Collect Reports"
99+ if : ${{ !cancelled() && github.event_name != 'pull_request' }}
100+ run : |
101+ cp code-coverage-results.md dist/
98102 - name : Upload Badges and Reports
99103 if : ${{ !cancelled() && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
100104 uses : peaceiris/actions-gh-pages@v4
@@ -108,14 +112,5 @@ jobs:
108112 keep_files : true
109113 commit_message : " Upload badges & reports from CI - ${{ github.job }}"
110114
111- # - name: Upload Badges and Reports
112- # if: ${{ !cancelled() && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
113- # uses: JamesIves/github-pages-deploy-action@v4
114- # with:
115- # branch: gh-pages
116- # folder: dist
117- # target-folder: pages
118- # clean: false
119- # commit-message: "Upload badges & reports from CI
120115
121116
Original file line number Diff line number Diff line change 11# go-lanai
22
33![ Tests] ( https://github.com/cisco-open/go-lanai/actions/workflows/ci.yml/badge.svg?branch=main )
4- [ ![ Coverage] ( https://gist.githubusercontent.com/stonedu1011/82b48469578014fc69d5aa64ef0a443f/raw/ go-lanai-main- coverage.svg )] ( https://gist.githubusercontent.com/stonedu1011/82b48469578014fc69d5aa64ef0a443f/#file- go-lanai-main- coverage-md )
4+ [ ![ Coverage] ( https://cisco-open.github.io/ go-lanai/pages/ coverage-badge .svg )] ( https://cisco-open.github.io/ go-lanai/pages/code- coverage-results. md )
55[ ![ Apache 2.0] ( https://img.shields.io/badge/License-Apache_2.0-green.svg )] ( https://opensource.org/license/apache-2-0/ )
66
77go-lanai is an application frameworks and a set of modules that make writing applications easy. It provides
You can’t perform that action at this time.
0 commit comments