diff --git a/.github/workflows/retrieve_secrets.yaml b/.github/workflows/retrieve_secrets.yaml index c786eac..495348d 100644 --- a/.github/workflows/retrieve_secrets.yaml +++ b/.github/workflows/retrieve_secrets.yaml @@ -26,3 +26,6 @@ jobs: dev-main-speakeasy-api-key name-transformation: uppercase parse-json-secrets: true + + outputs: + speakeasy_api_key: ${{ steps.get-secrets.outputs.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }} # Adjust according to your output needs diff --git a/.github/workflows/sdk_generation.yaml b/.github/workflows/sdk_generation.yaml index 52cfae6..de2bcd8 100644 --- a/.github/workflows/sdk_generation.yaml +++ b/.github/workflows/sdk_generation.yaml @@ -34,4 +34,4 @@ jobs: speakeasy_version: latest env: github_access_token: ${{ secrets.GITHUB_TOKEN }} - speakeasy_api_key: ${{ jobs.gather-secrets.outputs.get-secrets.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }} # Reference the output directly + speakeasy_api_key: ${{ jobs.gather-secrets.outputs.speakeasy_api_key }} # Access the output directly