Skip to content

Commit

Permalink
feat: test update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Apr 9, 2024
1 parent bb00802 commit 14f05dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ runs:
SPEAKEASY_API_KEY: ${{ inputs.speakeasy_api_key }}
SPEAKEASY_SERVER_URL: ${{ inputs.speakeasy_server_url }}
OPENAI_API_KEY: ${{ inputs.openai_api_key }}
OPENAPI_DOC_AUTH_TOKEN: ${{ inputs.openapi_doc_auth_token }}
args:
- ${{ inputs.speakeasy_version }}
- ${{ inputs.github_access_token }}
Expand Down
5 changes: 5 additions & 0 deletions internal/actions/runWorkflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package actions

import (
"fmt"
"os"

"github.com/hashicorp/go-version"
"github.com/speakeasy-api/sdk-generation-action/internal/configuration"
Expand All @@ -20,6 +21,10 @@ func RunWorkflow() error {
return err
}

fmt.Println("WE ARE HERE")
fmt.Println(os.Getenv("INPUT_OPENAPI_DOC_AUTH_TOKEN"))
fmt.Println(os.Getenv("OPENAPI_DOC_AUTH_TOKEN"))

resolvedVersion, err := cli.Download(environment.GetPinnedSpeakeasyVersion(), g)
if err != nil {
return err
Expand Down

0 comments on commit 14f05dc

Please sign in to comment.