python-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: python-sdk | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: "The version of the python SDK to release" | |
required: true | |
type: string | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Fern | |
run: npm install -g fern-api | |
- name: Release Python SDK | |
env: | |
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
run: | | |
fern generate --group python-sdk --version ${{ inputs.version }} --log-level debug |