Skip to content

Switched to direct Speakeasy generation mode #6

Switched to direct Speakeasy generation mode

Switched to direct Speakeasy generation mode #6

name: Generate Speakeasy SDK
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
on:
push:
branches: [ main ]
# workflow_dispatch:
# inputs:
# force:
# description: Force generation of SDKs
# type: boolean
# default: false
# schedule:
# - cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: direct
speakeasy_version: latest
working_directory: sdks/simple-payments-sdk-java
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}