Skip to content

Commit

Permalink
Merge branch 'main' into renovate/openapi-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Dec 28, 2023
2 parents b57272f + 443c890 commit 4487b8f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/.cache_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
26 changes: 26 additions & 0 deletions clients/algoliasearch-client-ruby/.github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

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
steps:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true

- name: Build gem
run: gem build algolia.gemspec

- name: Publish new gem
run: gem push --key ${{ secrets.RUBYGEMS_API_KEY }} $(ls algolia-*.gem)

0 comments on commit 4487b8f

Please sign in to comment.