Revert "Make a smart CI so that it would bump the version only if the… #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bump version | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
bump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
- name: Install dependencies | |
run: bundle install | |
- name: bump | |
run: bundle exec rake bump | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: "bump new version" | |
add: . | |
committer_name: "GitHub Actions" | |
committer_email: "actions@github.com" | |
push: true | |
branch: master |