Skip to content

Commit

Permalink
Resolved packages_dir warning
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Oct 10, 2024
1 parent 5632f1c commit 02b5a49
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 02b5a49

Please sign in to comment.