From d084b126b2b0a80087ef55b17a60fd017e0dc0a7 Mon Sep 17 00:00:00 2001 From: Randall Keur Date: Tue, 29 Oct 2024 17:20:13 -0400 Subject: [PATCH] attempt output but will remove b/c not safe --- .github/workflows/retrieve_secrets.yaml | 3 +++ .github/workflows/sdk_generation.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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