From f453d095e633b757dd935cc7341533d6770b1097 Mon Sep 17 00:00:00 2001 From: Vivek Aditya Date: Wed, 21 Feb 2024 17:32:36 +0530 Subject: [PATCH] fixing the env setup --- .github/workflows/athina_ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/athina_ci.yml b/.github/workflows/athina_ci.yml index 214298e..65e77a9 100644 --- a/.github/workflows/athina_ci.yml +++ b/.github/workflows/athina_ci.yml @@ -12,10 +12,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set the OPENAI_API_KEY secret as an environment variable - env: - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - - name: Set up Python uses: actions/setup-python@v4 with: @@ -31,6 +27,8 @@ jobs: # If your dataset is not static, prepare it here # For example, download the dataset or build it from available data echo "Prepare your dataset here if necessary" - + - name: Run Athina Evaluation and Validation Script - run: python .github/scripts/run_athina_evals.py \ No newline at end of file + run: python .github/scripts/run_athina_evals.py + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}