From aeb06261b37e26fc16136763abbb9f6a44599196 Mon Sep 17 00:00:00 2001 From: Arsh Date: Fri, 28 Jun 2024 10:13:45 +0530 Subject: [PATCH] Added environement variables --- .github/workflows/dev_ci_cd.yml | 4 ++++ .github/workflows/tests.yml | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev_ci_cd.yml b/.github/workflows/dev_ci_cd.yml index 4ccfafa..d3c7244 100644 --- a/.github/workflows/dev_ci_cd.yml +++ b/.github/workflows/dev_ci_cd.yml @@ -21,6 +21,10 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} + - name: Set GOOGLE_APPLICATION_USER env + run: echo "GOOGLE_APPLICATION_USER=$(echo $GOOGLE_APPLICATION_USER | cut -c 1-6)" >> $GITHUB_ENV + - name: Set GOOGLE_APPLICATION_CREDENTIALS env + run: echo "GOOGLE_APPLICATION_CREDENTIALS=$(echo $GOOGLE_APPLICATION_CREDENTIALS | cut -c 1-6)" >> $GITHUB_ENV - name: Install Linux dependencies run: | sudo apt update diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d332ea8..0a75a76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,10 +23,6 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.10" - - name: Set GOOGLE_APPLICATION_USER env - run: echo "GOOGLE_APPLICATION_USER=$(echo $GOOGLE_APPLICATION_USER | cut -c 1-6)" >> $GITHUB_ENV - - name: Set GOOGLE_APPLICATION_CREDENTIALS env - run: echo "GOOGLE_APPLICATION_CREDENTIALS=$(echo $GOOGLE_APPLICATION_CREDENTIALS | cut -c 1-6)" >> $GITHUB_ENV - name: Install dependencies run: | python -m pip install --upgrade pip