From 9dffaf513fea8c3ffa73e0348e79e705340fd43e Mon Sep 17 00:00:00 2001 From: rkeur-shippo Date: Wed, 30 Oct 2024 09:47:18 -0400 Subject: [PATCH] Update sdk_generation.yaml --- .github/workflows/sdk_generation.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sdk_generation.yaml b/.github/workflows/sdk_generation.yaml index 9602f39..2b402a8 100644 --- a/.github/workflows/sdk_generation.yaml +++ b/.github/workflows/sdk_generation.yaml @@ -19,6 +19,8 @@ on: jobs: retrieve-secrets: runs-on: ubuntu-latest + outputs: + speakeasy_api_key: ${{ steps.get-secrets.outputs.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }} steps: - name: Authenticate with AWS uses: goshippo/shippo-action-workflows/.github/actions/aws_auth@v1.1.0 @@ -36,9 +38,6 @@ jobs: name-transformation: uppercase parse-json-secrets: true - - name: Save Speakeasy API Key - run: echo "${{ steps.get-secrets.outputs.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }}" > $GITHUB_ENV - speakeasy-generate: needs: retrieve-secrets @@ -49,4 +48,4 @@ jobs: speakeasy_version: latest secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} - speakeasy_api_key: ${{ env.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }} + speakeasy_api_key: ${{ needs.retrieve-secrets.outputs.speakeasy_api_key }}