From 02b5a4980347ae468d0298a25acfb0ff564374da Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 10 Oct 2024 13:36:44 +0200 Subject: [PATCH] Resolved packages_dir warning Signed-off-by: Andreas Maier --- .github/workflows/publish.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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