Skip to content

fix(api_client): fixes issue with token not renewing (#37) #28

fix(api_client): fixes issue with token not renewing (#37)

fix(api_client): fixes issue with token not renewing (#37) #28

Workflow file for this run

name: release-please
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-please
with:
release-type: ruby
package-name: crimson-falcon
version-file: "lib/crimson-falcon/version.rb"
pull-request-header: ':rocket: Prepare for Launch: New Release Incoming!'
# Override the changelog section to include miscellaneous changes.
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'
extra-files: |
.openapi-generator/config.yml
README.md
# The following steps are only executed if a release is created.
- name: Check out code
uses: actions/checkout@v4
if: ${{ steps.release-please.outputs.release_created }}
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
if: ${{ steps.release-please.outputs.release_created }}
- name: Install dependencies
run: bundle install
if: ${{ steps.release-please.outputs.release_created }}
- name: Build gem
run: make build
if: ${{ steps.release-please.outputs.release_created }}
- name: Ensure gem installs
run: make install
if: ${{ steps.release-please.outputs.release_created }}
- name: Publish gem
run: gem push crimson-falcon-*.gem
env:
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
if: ${{ steps.release-please.outputs.release_created }}