Skip to content

Commit

Permalink
update build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
durmisi committed Mar 13, 2024
1 parent c9c7e22 commit 91006ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
build:

runs-on: ubuntu-latest
environment: Dev

steps:
- uses: actions/checkout@v3
Expand All @@ -26,3 +27,12 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
env:
ASPNETCORE_OpenAI_Endpoint: ${{variables.OPENAI_ENDPOINT}}
ASPNETCORE_OpenAI_Key: ${{secrets.OPENAI_KEY}}
ASPNETCORE_OpenAI_AudioService_Endpoint: ${{variables.OPENAI_AUDIOSERVICE_ENDPOINT}}
ASPNETCORE_OpenAI_AudioService_Key: ${{secrets.OPENAI_AUDIOSERVICE_KEY}}
ASPNETCORE_OpenAI_ImageService_Endpoint: ${{variables.OPENAI_IMAGESERVICE_ENDPOINT}}
ASPNETCORE_OpenAI_ImageService_Key: ${{secrets.OPENAI_IMAGESERVICE_KEY}}
ASPNETCORE_OpenAI_TranslationService_Endpoint: ${{variables.OPENAI_TRANSLATIONSERVICE_ENDPOINT}}
ASPNETCORE_OpenAI_TranslationService_Key: ${{secrets.OPENAI_TRANSLATIONSERVICE_KEY}}
1 change: 1 addition & 0 deletions OpenAIExtensions.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenAIExtensions", "Core\Op
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{43378483-D0D1-41AA-8370-CC05116C05AD}"
ProjectSection(SolutionItems) = preProject
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
README.md = README.md
EndProjectSection
EndProject
Expand Down

0 comments on commit 91006ca

Please sign in to comment.