Skip to content

Commit

Permalink
Add python-sdk and ts-sdk release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
amckinney committed May 24, 2024
1 parent f2c5034 commit c62d4cb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/python-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release Python SDK

on:
workflow_dispatch:
inputs:
version:
description: "The version of the SDKs 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 }}
run: |
fern generate --group python-sdk --version ${{ inputs.version }} --log-level debug
4 changes: 2 additions & 2 deletions .github/workflows/go-sdk.yml → .github/workflows/ts-sdk.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Go SDK
name: Release TypeScript SDK

on:
workflow_dispatch:
Expand All @@ -25,4 +25,4 @@ jobs:
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
fern generate --group go-sdk --version ${{ inputs.version }} --log-level debug
fern generate --group ts-sdk --version ${{ inputs.version }} --log-level debug

0 comments on commit c62d4cb

Please sign in to comment.