There was an error while loading. Please reload this page.
1 parent 8bfc369 commit cfddaa5Copy full SHA for cfddaa5
1 file changed
.github/workflows/publish-pypi.yml
@@ -91,7 +91,23 @@ jobs:
91
name: dist
92
path: dist/
93
94
+ - name: Select manylinux2014 wheels
95
+ shell: bash
96
+ run: |
97
+ mkdir -p publish-dist
98
+
99
+ find dist -type f \( \
100
+ -name '*manylinux_2_17*.whl' -o \
101
+ -name '*manylinux2014*.whl' \
102
+ \) -exec cp -v {} publish-dist/ \;
103
104
+ # Fail instead of silently publishing nothing
105
+ test -n "$(find publish-dist -maxdepth 1 -type f -name '*.whl' -print -quit)"
106
107
+ echo "Files to publish:"
108
+ find publish-dist -maxdepth 1 -type f -name '*.whl' -print
109
110
- name: Publish
111
uses: pypa/gh-action-pypi-publish@release/v1
112
with:
- packages-dir: dist/
113
+ packages-dir: publish-dist/
0 commit comments