Skip to content

Commit

Permalink
Revert "Update publishing workflow file"
Browse files Browse the repository at this point in the history
This reverts commit 3bd1ce7.
  • Loading branch information
terencecho committed May 19, 2023
1 parent 445977d commit 9a6df27
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/speakeasy_sdk_publish.yml
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 }}

0 comments on commit 9a6df27

Please sign in to comment.