From 79f15467d177851e3732c620a05a9e70baad5de2 Mon Sep 17 00:00:00 2001 From: Sneha Pandey Date: Mon, 23 Sep 2024 05:37:44 +0530 Subject: [PATCH] Update smartsearch.yml --- .github/workflows/smartsearch.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/smartsearch.yml b/.github/workflows/smartsearch.yml index fd9919f..13c79e9 100644 --- a/.github/workflows/smartsearch.yml +++ b/.github/workflows/smartsearch.yml @@ -1,4 +1,4 @@ -name: CI +name: Smart Search CI on: push: @@ -14,8 +14,17 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - - name: Use API key - run: echo "API Key: ${{ secrets.API_KEY }}" - env: - API_KEY: ${{ secrets.API_KEY }} + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.8' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run your script + run: | + echo "API Key: ${{ secrets.API_KEY }}"