Skip to content

feat(cli): support bytes in the fern definition (#5388) #68

feat(cli): support bytes in the fern definition (#5388)

feat(cli): support bytes in the fern definition (#5388) #68

Workflow file for this run

name: IR SDKs
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "packages/ir-sdk/fern/apis/ir-types-latest/VERSION"
jobs:
node:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Fern
run: npm install -g fern-api
- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
cd packages/ir-sdk
version=$(cat fern/apis/ir-types-latest/VERSION)
fern generate --api ir-types-latest --group node --version $version
dynamic-ir:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Fern
run: npm install -g fern-api
- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
NPM_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}
run: |
cd packages/ir-sdk
version=$(cat fern/apis/ir-types-latest/VERSION)
fern generate --api ir-types-latest --group dynamic-ir --version $version
python:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Fern
run: npm install -g fern-api
- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
cd packages/ir-sdk
version=$(cat fern/apis/ir-types-latest/VERSION)
fern generate --api ir-types-latest --group python --version $version
go:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Fern
run: npm install -g fern-api
- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
cd packages/ir-sdk
version=$(cat fern/apis/ir-types-latest/VERSION)
fern generate --api ir-types-latest --group go --version $version
java:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Fern
run: npm install -g fern-api
- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
cd packages/ir-sdk
version=$(cat fern/apis/ir-types-latest/VERSION)
fern generate --api ir-types-latest --group java --version $version