Update publish-python-sdk.yml
This commit is contained in:
parent
a939f46f3a
commit
eb1dd54e98
6
.github/workflows/publish-python-sdk.yml
vendored
6
.github/workflows/publish-python-sdk.yml
vendored
@ -38,17 +38,17 @@ jobs:
|
|||||||
echo "Output of VERSION_INCREMENTED: '${{ env.VERSION_INCREMENTED }}'"
|
echo "Output of VERSION_INCREMENTED: '${{ env.VERSION_INCREMENTED }}'"
|
||||||
|
|
||||||
- name: Set published version environment variable
|
- name: Set published version environment variable
|
||||||
if: env.VERSION_INCREMENTED == 'true'
|
if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
echo "Published Version: ${{ env.VERSION_INCREMENTED }}"
|
echo "Published Version: ${{ env.VERSION_INCREMENTED }}"
|
||||||
|
|
||||||
- name: Build the package
|
- name: Build the package
|
||||||
if: env.VERSION_INCREMENTED == 'true'
|
if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
python -m build
|
python -m build
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
if: env.VERSION_INCREMENTED == 'true'
|
if: ${{ env.VERSION_INCREMENTED == 'true' }}
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||||
|
Loading…
Reference in New Issue
Block a user