Skip to content

Commit

Permalink
ci: add a workflow for release (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
supercaracal authored Jan 23, 2024
1 parent 0e12ee4 commit 86c0e01
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
# https://github.com/actions/virtual-environments
name: Release
on:
push:
tags:
- "v*"
concurrency: ${{ github.workflow }}
jobs:
gem:
name: Gem
if: github.repository == 'redis-rb/redis-cluster-client'
timeout-minutes: 10
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
bundler-cache: true
- uses: rubygems/release-gem@v1
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![Gem Version](https://badge.fury.io/rb/redis-cluster-client.svg)](https://badge.fury.io/rb/redis-cluster-client)
![Test status](https://github.com/redis-rb/redis-cluster-client/workflows/Test/badge.svg?branch=master)
![Release status](https://github.com/redis-rb/redis-cluster-client/workflows/Release/badge.svg)

Redis Cluster Client
===============================================================================
Expand Down

0 comments on commit 86c0e01

Please sign in to comment.