Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/sdk-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ jobs:
swift_regenerated: ${{ steps.release.outputs.swift_regenerated }}
swift_directory: ${{ steps.release.outputs.swift_directory }}
use_sonatype_legacy: ${{ steps.release.outputs.use_sonatype_legacy }}
php_package_name: ${{ steps.release.outputs.php_package_name }}
steps:
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1
Expand Down Expand Up @@ -377,13 +376,14 @@ jobs:
steps:
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1
- uses: actions/checkout@v3
- name: Publish
uses: speakeasy-api/packagist-update@support-github-creation
with:
username: ${{ secrets.packagist_username }}
api_token: ${{ secrets.packagist_token }}
package_name: ${{ needs.release.outputs.php_package_name }}
package_base_url: ${{ github.server_url }}
repository_name: ${{ github.repository }}
repository_base_url: ${{ github.server_url }}
- id: publish-event
uses: speakeasy-api/sdk-generation-action@v15
if: always()
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/workflow-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -652,13 +652,15 @@ jobs:
steps:
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1
- uses: actions/checkout@v3
with:
ref: ${{ needs.run-workflow.outputs.commit_hash }}
- name: Publish
uses: speakeasy-api/packagist-update@support-github-creation
with:
username: ${{ secrets.packagist_username }}
api_token: ${{ secrets.packagist_token }}
package_name: ${{ github.repository }}
package_base_url: ${{ github.server_url }}
repository_base_url: ${{ github.server_url }}
- id: publish-event
uses: speakeasy-api/sdk-generation-action@v15
if: always()
Expand Down
20 changes: 0 additions & 20 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,62 +123,42 @@ outputs:
description: "true if the Python SDK was regenerated"
python_directory:
description: "The directory the Python SDK was generated to"
python_package_name:
description: "The name of the Python package"
typescript_regenerated:
description: "true if the Typescript SDK was regenerated"
typescript_directory:
description: "The directory the Typescript SDK was generated to"
typescript_package_name:
description: "The name of the Typescript package"
go_regenerated:
description: "true if the Go SDK was regenerated"
go_directory:
description: "The directory the Go SDK was generated to"
go_package_name:
description: "The name of the Go package"
java_regenerated:
description: "true if the Java SDK was regenerated"
java_directory:
description: "The directory the Java SDK was generated to"
java_package_name:
description: "The name of the Java package"
terraform_regenerated:
description: "true if the Terraform Provider was regenerated"
terraform_directory:
description: "The directory the Terraform Provider was generated to"
terraform_package_name:
description: "The name of the Terraform package"
php_regenerated:
description: "true if the PHP SDK was regenerated"
php_directory:
description: "The directory the PHP SDK was generated to"
php_package_name:
description: "The name of the PHP package"
ruby_regenerated:
description: "true if the Ruby SDK was regenerated"
ruby_directory:
description: "The directory the Ruby SDK was generated to"
ruby_package_name:
description: "The name of the Ruby package"
csharp_regenerated:
description: "true if the C# SDK was regenerated"
csharp_directory:
description: "The directory the C# SDK was generated to"
csharp_package_name:
description: "The name of the C# package"
unity_regenerated:
description: "true if the Unity SDK was regenerated"
unity_directory:
description: "The directory the Unity SDK was generated to"
unity_package_name:
description: "The name of the Unity package"
swift_regenerated:
description: "true if the Swift SDK was regenerated"
swift_directory:
description: "The directory the Swift SDK was generated to"
swift_package_name:
description: "The name of the Swift package"
docs_regenerated:
description: "true if SDK docs were regenerated"
docs_directory:
Expand Down
1 change: 0 additions & 1 deletion internal/actions/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ func Release() error {
for lang, info := range latestRelease.Languages {
outputs[fmt.Sprintf("%s_regenerated", lang)] = "true"
outputs[fmt.Sprintf("%s_directory", lang)] = info.Path
outputs[fmt.Sprintf("%s_package_name", lang)] = info.PackageName
}

if err = addPublishOutputs(dir, outputs); err != nil {
Expand Down