Update publish-python-sdk.yml
This commit is contained in:
parent
eb1dd54e98
commit
3e091b0c57
40
.github/workflows/publish-python-sdk.yml
vendored
40
.github/workflows/publish-python-sdk.yml
vendored
@ -32,25 +32,25 @@ jobs:
|
|||||||
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 }}"
|
|
||||||
|
|
||||||
- name: Build the package
|
# - name: Debug output of version check
|
||||||
if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
# run: |
|
||||||
run: |
|
# echo "Output of VERSION_INCREMENTED: '${{ env.VERSION_INCREMENTED }}'"
|
||||||
python -m build
|
|
||||||
|
# - name: Set published version environment variable
|
||||||
|
# if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
||||||
|
# run: |
|
||||||
|
# echo "Published Version: ${{ env.VERSION_INCREMENTED }}"
|
||||||
|
|
||||||
- name: Publish to PyPI
|
# - name: Build the package
|
||||||
if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
# if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
||||||
env:
|
# run: |
|
||||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
# python -m build
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
|
||||||
run: |
|
# - name: Publish to PyPI
|
||||||
echo "Publishing to PyPI"
|
# if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
||||||
|
# env:
|
||||||
|
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||||
|
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||||
|
# run: |
|
||||||
|
# echo "Publishing to PyPI"
|
||||||
|
Loading…
Reference in New Issue
Block a user