diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a7a675f..f9d3bfa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -126,6 +126,9 @@ jobs: - name: Development setup run: | make develop + - name: Display Python packages + run: | + pip list #-------- Publishing of package - name: Build the distribution @@ -134,17 +137,11 @@ jobs: - name: Display the distribution directory run: | ls -l dist - # - name: Publish distribution to TestPyPI - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # packages_dir: dist - # password: ${{ secrets.TEST_PYPI_API_TOKEN }} - # repository_url: https://test.pypi.org/legacy/ - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: dist + packages-dir: dist password: ${{ secrets.PYPI_API_TOKEN }} #-------- Creation of Github release