Skip to content

Commit 4694db5

Browse files
authored
Expose secrets via GITHUB_ENV instead of step-level env
1 parent f4470f7 commit 4694db5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
node-version: "24"
2929
cache: "pnpm"
3030

31+
- name: Expose secrets to environment
32+
run: |
33+
echo "ELYOS_API_KEY=${{ secrets.ELYOS_API_KEY }}" >> $GITHUB_ENV
34+
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" >> $GITHUB_ENV
35+
3136
- name: Install dependencies
3237
run: pnpm install --frozen-lockfile
33-
env:
34-
ELYOS_API_KEY: ${{ secrets.ELYOS_API_KEY }}
35-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

0 commit comments

Comments
 (0)