Skip to content

Commit 952d6c1

Browse files
Fix PyPI build
1 parent eb5d163 commit 952d6c1

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/python-publish.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,16 @@ jobs:
7878

7979
- uses: actions/download-artifact@v7
8080
with:
81-
path: dist
81+
path: artifact
8282

8383
- name: Install wheel
8484
run: |
8585
pip install --upgrade pip
8686
pip install wheel
8787
find .
88+
mkdir dist
89+
cp artifact/*/*.whl dist/
90+
cp artifact/*/*.tar.gz dist/
8891
pip install dist/*.whl
8992
9093
- name: Test module
@@ -108,8 +111,14 @@ jobs:
108111
steps:
109112
- uses: actions/download-artifact@v7
110113
with:
111-
name: artifact
112-
path: dist
114+
path: artifact
115+
116+
- name: Install wheel
117+
run: |
118+
find .
119+
mkdir dist
120+
cp artifact/*/*.whl dist/
121+
cp artifact/*/*.tar.gz dist/
113122
114123
- name: Publish package distributions to PyPI
115124
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)