Skip to content

Commit ef973a9

Browse files
committed
Merge branch 'main' of github.com:hathora/cloud-sdk-java
2 parents f4f61ba + 9a89e20 commit ef973a9

File tree

1,292 files changed

+100103
-53568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,292 files changed

+100103
-53568
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
*.bat text eol=crlf
99

1010
# This allows generated code to be indexed correctly
11-
*.java linguist-generated=false
12-
11+
*.java linguist-generated=false
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Generate
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
workflow_dispatch:
9+
inputs:
10+
force:
11+
description: Force generation of SDKs
12+
type: boolean
13+
default: false
14+
push_code_samples_only:
15+
description: Force push only code samples from SDK generation
16+
type: boolean
17+
default: false
18+
set_version:
19+
description: optionally set a specific SDK version
20+
type: string
21+
schedule:
22+
- cron: 0 0 * * *
23+
jobs:
24+
generate:
25+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
26+
with:
27+
force: ${{ github.event.inputs.force }}
28+
push_code_samples_only: ${{ fromJSON(github.event.inputs.push_code_samples_only != '' && github.event.inputs.push_code_samples_only || 'false') }}
29+
set_version: ${{ github.event.inputs.set_version }}
30+
speakeasy_version: latest
31+
secrets:
32+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
33+
java_gpg_passphrase: ${{ secrets.JAVA_GPG_PASSPHRASE }}
34+
java_gpg_secret_key: ${{ secrets.JAVA_GPG_SECRET_KEY }}
35+
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
36+
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
37+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/sdk_publish.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
push:
9+
branches:
10+
- main
11+
paths:
12+
- RELEASES.md
13+
- "*/RELEASES.md"
14+
jobs:
15+
publish:
16+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
17+
secrets:
18+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
19+
java_gpg_passphrase: ${{ secrets.JAVA_GPG_PASSPHRASE }}
20+
java_gpg_secret_key: ${{ secrets.JAVA_GPG_SECRET_KEY }}
21+
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
22+
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
23+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/speakeasy_sdk_generation.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/speakeasy_sdk_publish.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/tagging.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Speakeasy Tagging
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
push:
9+
branches:
10+
- main
11+
paths: []
12+
workflow_dispatch: {}
13+
jobs:
14+
tag:
15+
uses: speakeasy-api/sdk-generation-action/.github/workflows/tag.yaml@v15
16+
with:
17+
registry_tags: main
18+
secrets:
19+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
20+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/test_java.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
3+
.speakeasy/temp/
4+
.speakeasy/reports
15
# Ignore IDE-specific configs
26
.project
37
.settings/

0 commit comments

Comments
 (0)