Skip to content

Commit

Permalink
chore: Configure Git for GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
teles committed May 18, 2024
1 parent 412fbe9 commit 1d211cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Bump version
id: bump_version
run: |
Expand All @@ -35,7 +40,6 @@ jobs:
# Obter nova versão
NEW_VERSION=$(node -p "require('./package.json').version")
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
echo "NEW_VERSION=$NEW_VERSION"
# Adiciona commit e tag
git push --follow-tags origin main
Expand Down

0 comments on commit 1d211cc

Please sign in to comment.