mirror of
https://github.com/FlipsideCrypto/analytics-workflow-templates.git
synced 2026-02-06 11:17:52 +00:00
make python version a worflow input
This commit is contained in:
parent
16aa3e19f8
commit
ffe1329a2e
7
.github/workflows/dbt_run_template.yml
vendored
7
.github/workflows/dbt_run_template.yml
vendored
@ -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' }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user