chore: release 3.0.0.alpha.6 #12
Workflow file for this run
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: Release | |
# This file is registered in https://rubygems.org/gems/algolia/trusted_publishers to be able to publish new versions of the gem. | |
on: | |
push: | |
branches: | |
- next | |
jobs: | |
release: | |
name: Publish | |
runs-on: ubuntu-22.04 | |
if: "startsWith(github.event.head_commit.message, 'chore: release')" | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.2 | |
bundler-cache: true | |
- uses: rubygems/release-gem@v1 |