Skip to content

Commit 5b5d928

Browse files
run pyenv local before build #2
1 parent f5e0b5c commit 5b5d928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-cdk-command.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
- uses: gabrielfalcao/pyenv-action@v7
1717
with:
1818
default: 3.7.0
19-
command: pyenv local 3.7.0
2019
- uses: actions/setup-java@v1
2120
with:
2221
java-version: '14'
@@ -37,7 +36,8 @@ jobs:
3736
- name: Checkout Airbyte
3837
uses: actions/checkout@v2
3938
- name: Build CDK Package
40-
run: ./gradlew --no-daemon :airbyte-cdk:python:build
39+
# By default .python-version is 3.7.9
40+
run: pyenv local 3.7.0 && ./gradlew --no-daemon :airbyte-cdk:python:build
4141
- name: Publish Python Package
4242
if: success()
4343
uses: mariamrf/[email protected]

0 commit comments

Comments
 (0)