Skip to content

Commit

Permalink
fix: use workflow instead of action
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Feb 10, 2023
1 parent f501aaa commit 64d67da
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ on:

jobs:
generate:
name: Generate SDK
runs-on: ubuntu-latest
steps:
- uses: speakeasy-api/sdk-generation-action@v9
with:
speakeasy_version: latest
openapi_doc_location: https://docs.speakeasyapi.dev/openapi.yaml
github_access_token: ${{ secrets.GITHUB_TOKEN }}
languages: |-
- php
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
packagist_username: ${{ secrets.PACKAGIST_USERNAME }}
packagist_token: ${{ secrets.PACKAGIST_TOKEN }}
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v9
with:
speakeasy_version: latest
openapi_doc_location: https://docs.speakeasyapi.dev/openapi.yaml
languages: |-
- php
publish_php: true
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
packagist_username: ${{ secrets.PACKAGIST_USERNAME }}
packagist_token: ${{ secrets.PACKAGIST_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

0 comments on commit 64d67da

Please sign in to comment.