Skip to content

Commit 9a6df27

Browse files
committed
Revert "Update publishing workflow file"
This reverts commit 3bd1ce7.
1 parent 445977d commit 9a6df27

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed
+12-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
name: Publish
2-
"on":
3-
push:
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"
47
branches:
58
- main
6-
paths:
7-
- RELEASES.md
9+
810
jobs:
911
publish:
10-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
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
1113
with:
1214
create_release: true
1315
publish_java: true
1416
secrets:
1517
github_access_token: ${{ secrets.GITHUB_TOKEN }}
16-
speakeasy_api_key: ${{ secrets.SPEAKEASY_PROD_API_KEY }}
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 }}

0 commit comments

Comments
 (0)