Skip to content

Commit

Permalink
Add OPENROUTER_API_KEY to GitHub workflows
Browse files Browse the repository at this point in the history
An OPENROUTER_API_KEY environment variable has been added to the GitHub workflows. This change in the publish_to_nuget.yml and dotnet.yml files is to facilitate the use of OpenRouter services and will be pulled from the repository secrets.
  • Loading branch information
rodion-m committed Nov 24, 2023
1 parent c6e5d6d commit e6db774
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- name: Test
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_ENDPOINT_URL: ${{ vars.AZURE_OPENAI_ENDPOINT_URL }}
AZURE_OPENAI_DEPLOYMENT_NAME: ${{ vars.AZURE_OPENAI_DEPLOYMENT_NAME }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_to_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- name: Test
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_ENDPOINT_URL: ${{ vars.AZURE_OPENAI_ENDPOINT_URL }}
AZURE_OPENAI_DEPLOYMENT_NAME: ${{ vars.AZURE_OPENAI_DEPLOYMENT_NAME }}
Expand Down

0 comments on commit e6db774

Please sign in to comment.