Skip to content

chore(deps): bump actions/checkout from 2 to 4 (#10) #17

chore(deps): bump actions/checkout from 2 to 4 (#10)

chore(deps): bump actions/checkout from 2 to 4 (#10) #17

Workflow file for this run

# .github/workflows/release.yml
name: release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
release-type: ruby
package-name: bundler-compose
bump-minor-pre-major: true
version-file: "lib/bundler/compose/version.rb"
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
if: ${{ steps.release.outputs.release_created }}
- uses: rubygems/configure-rubygems-credentials@main
with:
role-to-assume: ${{ secrets.RUBYGEMS_OIDC_ROLE }}
if: ${{ steps.release.outputs.release_created }}
- name: publish gem
run: |
gem build *.gemspec
gem push *.gem
if: ${{ steps.release.outputs.release_created }}