From 6da93076a521809f3d16981a5c3ed90328e8dd62 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Mon, 21 Oct 2024 19:29:07 +0530 Subject: [PATCH] Try Github workspace var --- .github/workflows/cicd.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index d2f73a0..f8960ca 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -187,15 +187,15 @@ jobs: env: AIRFLOW__CORE__DAGBAG_IMPORT_TIMEOUT: 90.0 AIRFLOW_CONN_EXAMPLE_CONN: postgres://postgres:postgres@0.0.0.0:5432/postgres - AIRFLOW_HOME: /home/runner/work/dag-factory/dag-factory/ - CONFIG_ROOT_DIR: $PWD/dags + AIRFLOW_HOME: ${{ GITHUB_WORKSPACE }} + CONFIG_ROOT_DIR: ${{ GITHUB_WORKSPACE }}/dags POSTGRES_DB: postgres POSTGRES_HOST: localhost POSTGRES_PASSWORD: postgres POSTGRES_PORT: 5432 POSTGRES_SCHEMA: public POSTGRES_USER: postgres - PYTHONPATH: $PWD:$PWD/examples:$PYTHONPATH + PYTHONPATH: ${{ GITHUB_WORKSPACE }}:${{ GITHUB_WORKSPACE }}/examples:$PYTHONPATH - name: Upload coverage to Github uses: actions/upload-artifact@v4