mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Test what happens if the secret does not exist
This commit is contained in:
parent
de7f67f71e
commit
ab2dd09ac6
1 changed files with 2 additions and 2 deletions
4
.github/workflows/code-qa.yml
vendored
4
.github/workflows/code-qa.yml
vendored
|
|
@ -48,11 +48,11 @@ jobs:
|
|||
outputs:
|
||||
exists: ${{ steps.openrouter-api-key-check.outputs.defined }}
|
||||
steps:
|
||||
- name: Check if OPENROUTER_API_KEY exists
|
||||
- name: Check if OpenRouter API key exists
|
||||
id: openrouter-api-key-check
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "${{ secrets.OPENROUTER_API_KEY }}" != '' ]; then
|
||||
if [ "${{ secrets.XOPENROUTER_API_KEY }}" != '' ]; then
|
||||
echo "defined=true" >> $GITHUB_OUTPUT;
|
||||
else
|
||||
echo "defined=false" >> $GITHUB_OUTPUT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue