Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidDistribution: Cannot find file (or expand pattern) #1036

Open
1 task done
tuananh opened this issue Dec 18, 2023 · 0 comments
Open
1 task done

InvalidDistribution: Cannot find file (or expand pattern) #1036

tuananh opened this issue Dec 18, 2023 · 0 comments

Comments

@tuananh
Copy link

tuananh commented Dec 18, 2023

Is there an existing issue for this?

  • I have searched the existing issues (open and closed), and could not find an existing issue

What keywords did you use to search existing issues?

No response

Please describe why your using this option

i use this through pypa/gh-action-pypi-publish@release/v1

      - name: Publish package distributions to PyPI
        uses: pypa/gh-action-pypi-publish@release/v1
        with:
          packages-dir: /tmp/output
          password: ${{ secrets.PYPI_API_TOKEN }}
          print-hash: true

however, i got the above error InvalidDistribution: Cannot find file (or expand pattern)

I thought i got the path wrong but i add a debug step before publish and i got

Run ls /tmp/output
event_ruler-0.2.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
event_ruler-0.2.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
event_ruler-0.2.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Looks like the files are in-placed.

Anything else you'd like to mention?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant