Update publish-python-sdk.yml
This commit is contained in:
parent
f9643bfa65
commit
2744e3d4b9
12
.github/workflows/publish-python-sdk.yml
vendored
12
.github/workflows/publish-python-sdk.yml
vendored
@ -27,11 +27,19 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install setuptools wheel twine build requests packaging
|
pip install setuptools wheel twine build requests packaging
|
||||||
|
|
||||||
- name: Check if version is incremented
|
- name: Run version check script
|
||||||
id: check_version
|
id: version_check_script
|
||||||
run: |
|
run: |
|
||||||
VERSION_INCREMENTED=$(python .github/scripts/check_version_has_incremented.py python ./apps/python-sdk/firecrawl firecrawl-py)
|
VERSION_INCREMENTED=$(python .github/scripts/check_version_has_incremented.py python ./apps/python-sdk/firecrawl firecrawl-py)
|
||||||
echo "VERSION_INCREMENTED=$VERSION_INCREMENTED" >> $GITHUB_ENV
|
echo "VERSION_INCREMENTED=$VERSION_INCREMENTED" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Debug output of version check
|
||||||
|
run: |
|
||||||
|
echo "Output of VERSION_INCREMENTED: '${{ env.VERSION_INCREMENTED }}'"
|
||||||
|
|
||||||
|
- name: Set published version environment variable
|
||||||
|
if: env.VERSION_INCREMENTED == 'true'
|
||||||
|
run: |
|
||||||
echo "Published Version: ${{ env.VERSION_INCREMENTED }}"
|
echo "Published Version: ${{ env.VERSION_INCREMENTED }}"
|
||||||
|
|
||||||
- name: Build the package
|
- name: Build the package
|
||||||
|
Loading…
Reference in New Issue
Block a user