From ffe1329a2eed585d51f64cc484a308e4b6834574 Mon Sep 17 00:00:00 2001 From: shah Date: Tue, 27 Aug 2024 15:11:50 -0700 Subject: [PATCH] make python version a worflow input --- .github/workflows/dbt_run_template.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dbt_run_template.yml b/.github/workflows/dbt_run_template.yml index 83949f6..5abaf38 100644 --- a/.github/workflows/dbt_run_template.yml +++ b/.github/workflows/dbt_run_template.yml @@ -15,6 +15,11 @@ on: type: string description: 'dbt warehouse' required: true + python_version: + type: string + description: 'python version' + required: true + default: "3.7.x" env: USE_VARS: "${{ vars.USE_VARS }}" @@ -41,7 +46,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: "3.8.x" + python-version: ${{ inputs.python_version }} - name: overwrite env vars if: ${{ env.USE_VARS == 'TRUE' }}