File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 - name : Archive Python dist
5151 uses : actions/upload-artifact@v4
5252 with :
53- name : nf- python-pypi
53+ name : python-package-distributions
5454 path : py/dist/*
5555
5656 publish-pypi :
@@ -61,19 +61,12 @@ jobs:
6161 url : https://pypi.org/p/nf-python-plugin/
6262 permissions :
6363 id-token : write
64+
6465 steps :
65- - uses : actions/checkout@v4
66- - name : Set up Python
67- uses : actions/setup-python@v5
68- with :
69- python-version : ' 3.9'
70- - name : Build Python package
71- run : |
72- cd py
73- pip install build
74- python -m build
75- - name : Publish to PyPI (trusted publishing)
76- uses : pypa/gh-action-pypi-publish@release/v1
77- with :
78- # No password needed for trusted publishing
79- verbose : true
66+ - name : Download all the dists
67+ uses : actions/download-artifact@v4
68+ with :
69+ name : python-package-distributions
70+ path : py/dist/
71+ - name : Publish distribution 📦 to PyPI
72+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 11[project ]
2- name = " nf-python"
2+ name = " nf-python-plugin "
33version = " 0.1.0"
44authors = [
55 { name =" Roy Jacobson" , email =" roy.jacobson@weizmann.ac.il" },
You can’t perform that action at this time.
0 commit comments