yym68686 commited on
Commit
13a1a61
·
1 Parent(s): c2ae771

📖 Docs: Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +8 -0
.github/workflows/main.yml CHANGED
@@ -54,6 +54,14 @@ jobs:
54
  echo "New version: $NEW_VERSION"
55
  echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
56
 
 
 
 
 
 
 
 
 
57
  - name: Build and push Docker image
58
  uses: docker/[email protected]
59
  with:
 
54
  echo "New version: $NEW_VERSION"
55
  echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
56
 
57
+ - name: Commit version bump
58
+ run: |
59
+ git config --global user.name 'github-actions[bot]'
60
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
61
+ git add VERSION
62
+ git commit -m "Bump version to ${{ steps.bump_version.outputs.new_version }}"
63
+ git push
64
+
65
  - name: Build and push Docker image
66
  uses: docker/[email protected]
67
  with: