Skip to content

Make a smart CI so that it would bump the version only if there is su… #57

Make a smart CI so that it would bump the version only if there is su…

Make a smart CI so that it would bump the version only if there is su… #57

Workflow file for this run

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 ci:bump_pathc_version
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "bump new version"
add: .
committer_name: "GitHub Actions"
committer_email: "[email protected]"
push: true
branch: master