From 5b1913f7ebd994ca71c069df127136eb719aff02 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Tue, 4 Jun 2024 13:50:32 -0700 Subject: [PATCH] Use correct environment variable name for OPENAI_API_KEY --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d04ded75..18ed0795 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: --filter="TestCategory~${{ github.event_name == 'pull_request' && 'Offline' || 'Online' }}" --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" env: - SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Pack run: dotnet pack diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bca4e1e..a61fada8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: --filter="TestCategory~Online" --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" env: - SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} # Pack the client nuget package and include urls back to the repository and release tag - name: Pack