Skip to content

Commit 4acdcea

Browse files
Update dojo-e2e.yml
Changing how environment variables get populated
1 parent b4c6dc5 commit 4acdcea

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/dojo-e2e.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -157,22 +157,16 @@ jobs:
157157
echo "OPENAI_API_KEY=${OPENAI_API_KEY}" > python/ag_ui_langgraph/.env
158158
echo "LANGSMITH_API_KEY=${LANGSMITH_API_KEY}" >> python/ag_ui_langgraph/.env
159159
160-
- name: setup workload identity federation
161-
uses: 'google-github-actions/auth@v3'
162-
with:
163-
service_account: '${{ secrets.GOOGLE_SERVICE_ACCOUNT }}'
164-
workload_identity_provider: '${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}'
165-
166-
167160
- name: Run dojo+agents
168161
uses: JarvusInnovations/background-action@v1
169-
env:
170-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
171-
LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }}
172-
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
162+
# The top-level 'env:' block has been removed.
173163
if: ${{ join(matrix.services, ',') != '' && contains(join(matrix.services, ','), 'dojo') }}
174164
with:
175165
run: |
166+
# Inject the secrets directly into the command line environment.
167+
OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} \
168+
LANGSMITH_API_KEY=${{ secrets.LANGSMITH_API_KEY }} \
169+
GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }} \
176170
node ../scripts/run-dojo-everything.js --only ${{ join(matrix.services, ',') }}
177171
working-directory: typescript-sdk/apps/dojo/e2e
178172
wait-on: ${{ matrix.wait_on }}

0 commit comments

Comments
 (0)