remove dist before poetry build (#1958)
This commit is contained in:
8
.github/workflows/sdk-release.yml
vendored
8
.github/workflows/sdk-release.yml
vendored
@@ -70,6 +70,9 @@ jobs:
|
||||
# they'll be installed and working.
|
||||
- run: poetry install --no-interaction
|
||||
|
||||
- name: Clean dist directory
|
||||
run: rm -rf dist
|
||||
|
||||
- name: Build Package
|
||||
run: poetry build
|
||||
|
||||
@@ -77,7 +80,4 @@ jobs:
|
||||
env:
|
||||
TWINE_USERNAME: __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