Skip to content

Commit 64216a8

Browse files
committed
try
1 parent e0cc4e0 commit 64216a8

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/actions/validate-sdk/action.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: 'Validate SDK'
22
description: 'Run build, typecheck, and tests for the SDK'
33

4+
inputs:
5+
openrouter-api-key:
6+
description: 'OpenRouter API key for running tests'
7+
required: true
8+
49
runs:
510
using: 'composite'
611
steps:
@@ -45,5 +50,5 @@ runs:
4550
- name: Run tests
4651
shell: bash
4752
env:
48-
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
53+
OPENROUTER_API_KEY: ${{ inputs.openrouter-api-key }}
4954
run: npx vitest

.github/workflows/speakeasy_run_on_pr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232

3333
- name: Validate SDK
3434
uses: ./.github/actions/validate-sdk
35+
with:
36+
openrouter-api-key: ${{ secrets.OPENROUTER_API_KEY }}
3537

3638
- name: Commit changes
3739
run: |

.github/workflows/validation-checks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ jobs:
1212

1313
- name: Validate SDK
1414
uses: ./.github/actions/validate-sdk
15+
with:
16+
openrouter-api-key: ${{ secrets.OPENROUTER_API_KEY }}

0 commit comments

Comments
 (0)