mirror of
https://github.com/LukeHagar/clerk-sdk-java.git
synced 2025-12-06 04:19:25 +00:00
improved speakeasy config + openapi.yml file
This commit is contained in:
3
.github/workflows/sdk_generation.yaml
vendored
3
.github/workflows/sdk_generation.yaml
vendored
@@ -22,4 +22,7 @@ jobs:
|
|||||||
speakeasy_version: latest
|
speakeasy_version: latest
|
||||||
secrets:
|
secrets:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
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 }}
|
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
||||||
|
|||||||
22
.github/workflows/sdk_publish.yaml
vendored
Normal file
22
.github/workflows/sdk_publish.yaml
vendored
Normal file
@@ -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 }}
|
||||||
@@ -2,10 +2,16 @@ workflowVersion: 1.0.0
|
|||||||
sources:
|
sources:
|
||||||
clerk-java-sdk:
|
clerk-java-sdk:
|
||||||
inputs:
|
inputs:
|
||||||
- location: ../../../../openapi.yml
|
- location: ./openapi.yml
|
||||||
registry:
|
registry:
|
||||||
location: registry.speakeasyapi.dev/clerk/clerk/clerk-java-sdk
|
location: registry.speakeasyapi.dev/clerk/clerk/clerk-java-sdk
|
||||||
targets:
|
targets:
|
||||||
my-first-target:
|
my-first-target:
|
||||||
target: java
|
target: java
|
||||||
source: clerk-java-sdk
|
source: clerk-java-sdk
|
||||||
|
publish:
|
||||||
|
java:
|
||||||
|
ossrhUsername: clerk
|
||||||
|
ossrhPassword: $ossrh_password
|
||||||
|
gpgSecretKey: $gpg_secret_key
|
||||||
|
gpgPassPhrase: $gpg_pass_phrase
|
||||||
|
|||||||
5726
openapi.yml
Normal file
5726
openapi.yml
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user