name: SDK Pipeline Automation
description: >-
Continuous SDK pipeline. Whenever the source OpenAPI specification changes,
Fern regenerates every configured SDK and publishes it to the appropriate
language registry. Uses fern-api/sync-openapi and fern-api/setup-fern-cli
GitHub Actions plus the Fern CLI on the local developer machine.
provider: Fern
providerId: fern
created: '2026-05-22'
tags:
- Code Generation
- Developer Experience
- SDKs
- CI/CD
workflow:
- step: sync-openapi
description: Run fern-api/sync-openapi to pull the latest OpenAPI spec into the Fern config.
inputs:
- openapiSpecUrl
outputs:
- syncedSpec
- step: install-fern-cli
description: Run fern-api/setup-fern-cli to install the Fern CLI inside the GitHub workflow.
outputs:
- fernCliInstalled
- step: check-definition
description: Run `fern check` to validate the API definition.
inputs:
- syncedSpec
outputs:
- checkResult
- step: generate-all-sdks
capability: fern.sdk.generate
description: Run `fern generate` against every configured generator.
inputs:
- syncedSpec
- generatorConfig
outputs:
- generatedSdks
- step: publish-all-sdks
capability: fern.sdk.publish
description: Publish each generated SDK to its language-native registry.
inputs:
- generatedSdks
outputs:
- publishedPackages
- step: bump-docs-references
description: Update the docs site so the SDK code samples reflect the new release tags.
inputs:
- publishedPackages
outputs:
- updatedDocsSite