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
PyPI Trusted Publisher Support #1868
Comments
Fixes #1868 Signed-off-by: Frost Ming <me@frostming.com>
I've just tried to use this feature in github action and failed. |
@e10v Did you see the output: Please follow these steps to set up publishers |
No I didn't see this message. But I didn't set up "permissions: id-token: write". I will try with next release. Thank you for quick replay and sorry for bothering 🙏 |
@frostming I've just tried again. And now I'm getting the following error:
|
pdm/src/pdm/cli/commands/publish/repository.py Lines 23 to 40 in b5db072
should move to be the first in |
Related #1868 Signed-off-by: Frost Ming <me@frostming.com>
@e10v Try the head version: - uses: pdm-project/setup-pdm@v3
with:
version: 'head' |
PyPI announced the Trusted Publishers feature some days ago. Would be nice to see in
pdm publish
.I already saw maturin support this in this PR.
For technical reference, PyPI Docs basically has all the details.
The text was updated successfully, but these errors were encountered: