remove dist before poetry build (#1958)
This commit is contained in:
6
.github/workflows/sdk-release.yml
vendored
6
.github/workflows/sdk-release.yml
vendored
@@ -70,6 +70,9 @@ jobs:
|
|||||||
# they'll be installed and working.
|
# they'll be installed and working.
|
||||||
- run: poetry install --no-interaction
|
- run: poetry install --no-interaction
|
||||||
|
|
||||||
|
- name: Clean dist directory
|
||||||
|
run: rm -rf dist
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: poetry build
|
run: poetry build
|
||||||
|
|
||||||
@@ -78,6 +81,3 @@ jobs:
|
|||||||
TWINE_USERNAME: __token__
|
TWINE_USERNAME: __token__
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|
||||||
run: poetry run twine upload --repository pypi dist/*
|
run: poetry run twine upload --repository pypi dist/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user