Fixes yml file suffix in the workflow declaration #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload OpenAPI spec to Stainless | |
on: | |
push: | |
branches: [main] | |
jobs: | |
stainless: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Upload OpenAPI spec to Stainless | |
uses: stainless-api/upload-openapi-spec-action@main | |
with: | |
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }} | |
input_path: "./openapi.yml" | |
config_path: "./openapi.stainless.yml" | |
project_name: 'open-transit' |