Skip to content

Commit

Permalink
improved speakeasy config + openapi.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemac committed Jun 13, 2024
1 parent 0d763fc commit a7f0eca
Show file tree
Hide file tree
Showing 4 changed files with 5,758 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ jobs:
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
gpg_pass_phrase: ${{ secrets.GPG_PASS_PHRASE }}
gpg_secret_key: ${{ secrets.GPG_SECRET_KEY }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
22 changes: 22 additions & 0 deletions .github/workflows/sdk_publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
push:
branches:
- main
paths:
- RELEASES.md
- '*/RELEASES.md'
jobs:
publish:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
gpg_pass_phrase: ${{ secrets.GPG_PASS_PHRASE }}
gpg_secret_key: ${{ secrets.GPG_SECRET_KEY }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
8 changes: 7 additions & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ workflowVersion: 1.0.0
sources:
clerk-java-sdk:
inputs:
- location: ../../../../openapi.yml
- location: ./openapi.yml
registry:
location: registry.speakeasyapi.dev/clerk/clerk/clerk-java-sdk
targets:
my-first-target:
target: java
source: clerk-java-sdk
publish:
java:
ossrhUsername: clerk
ossrhPassword: $ossrh_password
gpgSecretKey: $gpg_secret_key
gpgPassPhrase: $gpg_pass_phrase
Loading

0 comments on commit a7f0eca

Please sign in to comment.