From 5b5d928a040ec4bb61bac346197f7849de0f7c91 Mon Sep 17 00:00:00 2001 From: yaroslav-dudar Date: Fri, 28 May 2021 14:50:19 +0300 Subject: [PATCH] run pyenv local before build #2 --- .github/workflows/publish-cdk-command.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-cdk-command.yml b/.github/workflows/publish-cdk-command.yml index 31fe08d84a4c..ad87ee8da8ec 100644 --- a/.github/workflows/publish-cdk-command.yml +++ b/.github/workflows/publish-cdk-command.yml @@ -16,7 +16,6 @@ jobs: - uses: gabrielfalcao/pyenv-action@v7 with: default: 3.7.0 - command: pyenv local 3.7.0 - uses: actions/setup-java@v1 with: java-version: '14' @@ -37,7 +36,8 @@ jobs: - name: Checkout Airbyte uses: actions/checkout@v2 - name: Build CDK Package - run: ./gradlew --no-daemon :airbyte-cdk:python:build + # By default .python-version is 3.7.9 + run: pyenv local 3.7.0 && ./gradlew --no-daemon :airbyte-cdk:python:build - name: Publish Python Package if: success() uses: mariamrf/py-package-publish-action@v1.1.0