Skip to content

Update /simple-payments/openapi.yaml #18

Update /simple-payments/openapi.yaml

Update /simple-payments/openapi.yaml #18

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-sdks:
name: Generate SDKs
runs-on: ubuntu-latest
steps:
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1
- id: run-workflow
name: Run Generation Workflow
uses: speakeasy-api/sdk-generation-action@v15
with:
force: ${{ github.event.inputs.force }}
mode: direct
speakeasy_version: latest
working_directory: sdks/simple-payments-sdk-java
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
# 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