Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 16, 2023
1 parent 8d9ab33 commit a0c73b3
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/create-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@ jobs:
badge=`echo $badge | sed 's/.$//'`
echo $badge
- name: Get branch name
uses: mdecoleman/pr-branch-name@v2
id: vars
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: display branch name
run: echo ${{ steps.vars.outputs.branch }}
- name: Get Current Branch Name
run: |
echo Branch name is ${GITHUB_REF##*/}
echo Branch name is ${{ github.ref_name }}
echo Branch name is ${{ github.head_ref }}
- name: Update README.md with Code Coverage Badge
run: sed -i -e "s|<coverage-badge>.*</coverage-badge>|<coverage-badge>[![]($badge)]()<r$RANDOM$RANDOM></coverage-badge>|g" README.md
Expand Down

0 comments on commit a0c73b3

Please sign in to comment.