diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 680202e3..3f13b886 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Publish to test PyPI run: | - poetry publish --repository testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }} + poetry publish --build --repository testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }} - name: Check that installation from test PyPI passes run: | @@ -43,7 +43,7 @@ jobs: - name: Publish to PyPI run: | - poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} + poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} - name: Check that installation from PyPI passes run: |