Skip to content

Commit bb0bedb

Browse files
committed
fix pypi?
1 parent 30bfa26 commit bb0bedb

2 files changed

Lines changed: 10 additions & 17 deletions

File tree

.github/workflows/pypi-release.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
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

py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "nf-python"
2+
name = "nf-python-plugin"
33
version = "0.1.0"
44
authors = [
55
{ name="Roy Jacobson", email="roy.jacobson@weizmann.ac.il" },

0 commit comments

Comments
 (0)