Skip to content

chore: update checkout action to v3 (#19) #9

chore: update checkout action to v3 (#19)

chore: update checkout action to v3 (#19) #9

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
package-name: itax_code
release-type: ruby
token: ${{secrets.GITHUB_TOKEN}}
version-file: "lib/itax_code/version.rb"
- uses: actions/checkout@v3
if: ${{steps.release.outputs.release_created}}
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 2.7.0
if: ${{steps.release.outputs.release_created}}
- run: bundle install
if: ${{steps.release.outputs.release_created}}
- run: ./bin/release
env:
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
if: ${{steps.release.outputs.release_created}}