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 9077f36 commit b7d4851
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
retrieve-secrets:
runs-on: ubuntu-latest
outputs:
speakeasy_api_key: ${{ env.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }}
speakeasy_api_key: ${{ steps.get-secrets.outputs.dev-main-speakeasy-api-key }}
steps:
- name: Authenticate with AWS
uses: goshippo/shippo-action-workflows/.github/actions/[email protected]
Expand All @@ -38,16 +38,12 @@ jobs:
name-transformation: uppercase
parse-json-secrets: true

- name: Set env variable
run: |
echo "${{ env.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }}" >> "$GITHUB_OUTPUT"
test:
runs-on: ubuntu-latest
needs: retrieve-secrets
steps:
- run: |
echo "${{ needs.retrieve-secrets.outputs.speakeasy_api_key }}"
echo "Speakeasy API Key: ${{ needs.retrieve-secrets.outputs.speakeasy_api_key }}"
speakeasy-generate:
needs: retrieve-secrets
Expand All @@ -59,3 +55,4 @@ jobs:
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ needs.retrieve-secrets.outputs.speakeasy_api_key }}

0 comments on commit b7d4851

Please sign in to comment.