-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP - update and publish SDK once the generator is GA (#6)
* update gen.yaml to be as similar as possible to other repos * changes from speakeasy publish automation * update workflow docs * udpate workflows more * revert removing permissions from validation * manual updates to README * add logo * update readme and gen yaml for beta version release * set version to alpha * update workflows for secret name change * testing generate action
- Loading branch information
Showing
6 changed files
with
207 additions
and
110 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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Publish | ||
|
||
permissions: | ||
checks: write | ||
contents: write | ||
pull-requests: write | ||
statuses: write | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- RELEASES.md | ||
- "*/RELEASES.md" | ||
|
||
jobs: | ||
publish: | ||
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15 | ||
secrets: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
packagist_token: ${{ secrets.PACKAGIST_TOKEN }} | ||
speakeasy_api_key: ${{ secrets.SPEAKEASY_PHP_API_KEY }} |
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
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 |
---|---|---|
|
@@ -7,6 +7,10 @@ sources: | |
registry: | ||
location: registry.speakeasyapi.dev/shippo/shippo/openapi | ||
targets: | ||
my-first-target: | ||
php: | ||
target: php | ||
source: openapi | ||
publish: | ||
packagist: | ||
username: [email protected] | ||
token: $packagist_token |
Oops, something went wrong.