File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 47
47
test :
48
48
needs : ["create-semantic-tag"]
49
49
uses : " ./.github/workflows/test.yml"
50
+ secrets : " inherit"
50
51
51
52
build :
52
53
needs : ["test"]
Original file line number Diff line number Diff line change 55
55
56
56
- name : " Upload coverage to badge"
57
57
if : " ${{ github.ref_name == github.event.repository.default_branch }}"
58
- env :
59
- BADGEN_TOKEN : ${{ secrets.BADGEN_TOKEN }}
60
58
run : |
61
59
RESULT=$(grep -E 'total:\s+\(statements\)\s+[0-9]+\.[0-9]+%' coverage.log | grep -Eo '[0-9]+\.[0-9]+%' | sed 's/%/%25/g')
62
- curl -LX PUT --header "Authorization: Bearer ${BADGEN_TOKEN}" \
60
+ curl -LX PUT --header "Authorization: Bearer ${{ secrets. BADGEN_TOKEN } }" \
63
61
"https://badgen.net/memo/tarantool-sdvg-coverage-master/coverage/${RESULT}/green"
64
62
65
63
# ## PERFORMANCE ###
You can’t perform that action at this time.
0 commit comments