Skip to content

Commit

Permalink
first attmept of publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobevangelista committed Nov 25, 2024
1 parent 3e8f139 commit bad61bd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jobs:
set_version: ${{ github.event.inputs.set_version }}
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
23 changes: 23 additions & 0 deletions .github/workflows/sdk_publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
id-token: write
"on":
push:
branches:
- main
paths:
- .speakeasy/gen.lock
workflow_dispatch: {}
jobs:
publish:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
with:
target: clerk-backend-api
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
3 changes: 3 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ targets:
clerk-backend-api:
target: csharp
source: clerk-backend-api-OAS
publish:
nuget:
apiKey: $nuget_api_key
codeSamples:
registry:
location: registry.speakeasyapi.dev/loganinc/loganinc/clerk-backend-api-oas-code-samples
Expand Down

0 comments on commit bad61bd

Please sign in to comment.