Skip to content

Commit

Permalink
Add ruby publishing action
Browse files Browse the repository at this point in the history
  • Loading branch information
ucarion committed Nov 1, 2024
1 parent db5e7b8 commit cb8ebeb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ruby-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release Ruby SDK

on:
workflow_dispatch:
inputs:
version:
description: "The version of the Ruby SDK that you would like to release"
required: true
type: string

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3

- name: Download Fern
run: npm install -g fern-api

- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
run: |
fern generate --group ruby-sdk --version ${{ inputs.version }} --log-level debug

0 comments on commit cb8ebeb

Please sign in to comment.