Skip to content

Commit

Permalink
correct actions update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MozeBaltyk committed Jan 15, 2024
1 parent c7de588 commit 53e45a8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/actions/update-readme/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,14 @@ runs:
sed -i -n -e "1,/<\!-- Release -->/ p" -e"/<\!-- End Release -->/,$ p" -e "/<\!-- Release -->/ r version.txt" CHANGELOG.md
# Git push
- name: Set env.BRANCH
shell: bash
run: echo "BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)" >> $GITHUB_ENV

- name: Is develop branch?
- name: Which branch?
shell: bash
run: |
echo "${{ github.head_ref || github.ref_name }}"
echo "$GITHUB_REF"
echo "${{ env.BRANCH }}"
- shell: bash
run: |
git pull
git config user.name github-actions
git config user.email github-actions@github.com
git add README.md CHANGELOG.md
Expand Down

0 comments on commit 53e45a8

Please sign in to comment.