Skip to content

Commit

Permalink
debug CDK version step failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristoGrab committed Nov 19, 2024
1 parent 8e9bf19 commit a4f8a35
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,17 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
- name: Debug Poetry Search
run: poetry search airbyte-cdk

- name: Fetch Latest CDK Version
run: |
cdk_version=$(poetry search airbyte-cdk | grep -oP '^airbyte-cdk \K([0-9]+\.[0-9]+\.[0-9]+)')
poetry search airbyte-cdk
cdk_version=$(poetry search airbyte-cdk | grep -oP '^airbyte-cdk \K([0-9]+\.[0-9]+\.[0-9]+)' || echo "0.0.0")
echo "CDK_VERSION=$cdk_version" >> $GITHUB_ENV
echo "Fetched CDK Version: $cdk_version"
- name: Simulate Main Branch Variables
if: github.ref != 'refs/heads/main'
run: |
Expand Down

0 comments on commit a4f8a35

Please sign in to comment.