Release Ruby SDK #1
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 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 |