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 4747 test :
4848 needs : ["create-semantic-tag"]
4949 uses : " ./.github/workflows/test.yml"
50+ secrets : " inherit"
5051
5152 build :
5253 needs : ["test"]
Original file line number Diff line number Diff line change 5555
5656 - name : " Upload coverage to badge"
5757 if : " ${{ github.ref_name == github.event.repository.default_branch }}"
58- env :
59- BADGEN_TOKEN : ${{ secrets.BADGEN_TOKEN }}
6058 run : |
6159 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 } }" \
6361 "https://badgen.net/memo/tarantool-sdvg-coverage-master/coverage/${RESULT}/green"
6462
6563 # ## PERFORMANCE ###
You can’t perform that action at this time.
0 commit comments