Skip to content

Commit 3bd1ce7

Browse files
committed
Update publishing workflow file
1 parent 519d233 commit 3bd1ce7

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed
Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
name: Publish
2-
3-
on:
4-
push: # Will trigger when the RELEASES.md file is updated by the merged PR from the generation workflow
5-
paths:
6-
- "RELEASES.md"
2+
"on":
3+
push:
74
branches:
85
- main
9-
6+
paths:
7+
- RELEASES.md
108
jobs:
119
publish:
12-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14 # Import the sdk publish workflow which will handle the publishing to the package managers
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
1311
with:
1412
create_release: true
1513
publish_java: true
1614
secrets:
1715
github_access_token: ${{ secrets.GITHUB_TOKEN }}
18-
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19-
ossrh_username: ${{ secrets.MAVEN_USERNAME }}
20-
ossrh_password: ${{ secrets.MAVEN_PASSWORD }}
21-
java_gpg_secret_key: ${{ secrets.GPG_SECRET_KEY }}
22-
java_passphrase: ${{ secrets.GPG_PASSPHRASE }}
16+
speakeasy_api_key: ${{ secrets.SPEAKEASY_PROD_API_KEY }}

0 commit comments

Comments
 (0)