Skip to content

Commit

Permalink
run pyenv local before build #2
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav-dudar committed May 28, 2021
1 parent f5e0b5c commit 5b5d928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-cdk-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 5b5d928

Please sign in to comment.