Skip to content

Commit

Permalink
Update sdk_generation.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rkeur7 authored Oct 30, 2024
1 parent 068fb19 commit 9dffaf5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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
Expand All @@ -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 }}

0 comments on commit 9dffaf5

Please sign in to comment.