-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Update publishing workflow file"
This reverts commit 3bd1ce7.
- Loading branch information
1 parent
445977d
commit 9a6df27
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
name: Publish | ||
"on": | ||
push: | ||
|
||
on: | ||
push: # Will trigger when the RELEASES.md file is updated by the merged PR from the generation workflow | ||
paths: | ||
- "RELEASES.md" | ||
branches: | ||
- main | ||
paths: | ||
- RELEASES.md | ||
|
||
jobs: | ||
publish: | ||
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14 | ||
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 | ||
with: | ||
create_release: true | ||
publish_java: true | ||
secrets: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
speakeasy_api_key: ${{ secrets.SPEAKEASY_PROD_API_KEY }} | ||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} | ||
ossrh_username: ${{ secrets.MAVEN_USERNAME }} | ||
ossrh_password: ${{ secrets.MAVEN_PASSWORD }} | ||
java_gpg_secret_key: ${{ secrets.GPG_SECRET_KEY }} | ||
java_passphrase: ${{ secrets.GPG_PASSPHRASE }} |