File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,26 +159,25 @@ jobs:
159159 steps :
160160 - uses : actions/download-artifact@v4
161161 with :
162- path : .
163- merge-multiple : true
162+ path : dist
163+ merge-multiple : false
164164
165165 - name : List distributions before upload
166- run : ls -lh .
166+ run : ls -lh dist/**/*.whl
167167
168168 - name : List and verify artifacts
169169 run : |
170- ls -lh . /*.whl
171- file . /*.whl
170+ ls -lh dist/** /*.whl
171+ file dist/** /*.whl
172172
173173 - name : Validate wheels
174174 run : |
175- for file in . /*.whl; do
175+ for file in dist/** /*.whl; do
176176 echo "Checking $file"
177177 python -m zipfile -t "$file" || { echo "Invalid wheel: $file"; exit 1; }
178178 done
179-
179+
180180 - name : Publish to PyPI (trusted publisher)
181- # uses: pypa/gh-action-pypi-publish@v1.8.8
182181 uses : pypa/gh-action-pypi-publish@release/v1
183182 with :
184- packages-dir : ./
183+ packages-dir : dist
You can’t perform that action at this time.
0 commit comments