Skip to content

Generate

Generate #756

Workflow file for this run

name: Generate
on:
workflow_dispatch: # Allows manual triggering of the workflow to generate SDK
inputs:
force:
description: "Force generation of SDKs"
type: boolean
default: false
schedule:
- cron: 0 0 * * * # Runs every day at midnight
push:
paths:
- "test.yaml"
- "components.yaml"
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
with:
speakeasy_version: latest
openapi_docs: |
- ./test.yaml
languages: |-
- csharp
- go
- java
- php
- python
- ruby
- swift
- typescript
force: ${{ github.event.inputs.force }}
output_tests: true
secrets:
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
github_access_token: ${{ secrets.GITHUB_TOKEN }}